Scalr\Model\Entity\Account\TeamEnvs::getTeam PHP Method

getTeam() public method

Gets Team entity
public getTeam ( ) : Team | null
return Team | null
    public function getTeam()
    {
        if (!empty($this->teamId) && empty($this->_team)) {
            $this->_team = Team::findPk($this->teamId);
        }
        return $this->_team;
    }
TeamEnvs