/** * Set the Client associated to the Commande * @param \App\Model\Client $client */ public function setClient(Client $client) { $this->_client = $client->getId(); }