id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Sets company. * * @param Access $company * * @return $this */ public function setCompany(Access $company) { $this->company = $company; return $this; } /** * Gets company. * * @return Access */ public function getCompany() { return $this->company; } /** * Sets person. * * @param Access $access * * @return $this */ public function setAccess(Access $access) { $this->access = $access; return $this; } /** * Gets person. * * @return Access */ public function getAccess() { return $this->access; } /** * Sets mission. * * @param string $mission * * @return $this */ public function setMission($mission) { $this->mission = $mission; return $this; } /** * Gets mission. * * @return string */ public function getMission() { return $this->mission; } /** * Gets full label. * * @return string */ public function getCompanyFullLabelTemplate() { return [ $this->getCompany()->getPerson()->getName(), $this->getMission() ]; } }