我可以帮您更加合理地检查现有属性
$this->team->playerAssignment->player
吗?现在我是这样检查的:if ($this->team)
if (($this->team->playerAssignment))
if (($this->team->playerAssignment->player))
&&
进行检查! - Hiren Gohel