/** * {@inheritDoc} */ public function addWebsite(\Bakgat\Notos\Domain\Model\Location\Website $website) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addWebsite', [$website]); return parent::addWebsite($website); }
/** * Adds an objective to this website * * @param Objective $objective */ public function addObjective(Objective $objective) { $this->objectives[] = $objective; $objective->addWebsite($this); }