コード例 #1
0
ファイル: CtoUser.php プロジェクト: Etheriq/testSymfoPr
 public function addClient(CtoClient $client)
 {
     $client->setCto($this);
     $this->clients->add($client);
 }
コード例 #2
0
ファイル: City.php プロジェクト: Etheriq/testSymfoPr
 /**
  * @param CtoClient $ctoClient
  * @return City
  */
 public function addCtoClient(CtoClient $ctoClient)
 {
     $ctoClient->setCity($this);
     $this->ctoClients->add($ctoClient);
     return $this;
 }