public function addClient(CtoClient $client) { $client->setCto($this); $this->clients->add($client); }
/** * @param CtoClient $ctoClient * @return City */ public function addCtoClient(CtoClient $ctoClient) { $ctoClient->setCity($this); $this->ctoClients->add($ctoClient); return $this; }