src/Entity/ClientRepository.php
public function update(Client $client)
    {
        $this->getEntityManager()->persist($client);
        $this->getEntityManager()->flush();
    }
public function update(Client $client)
    {
        $this->getEntityManager()->persist($client);
        $this->getEntityManager()->flush();
    }
public function update ( Client $ client ) { $ this -> getEntityManager ( ) -> persist ( $ client ) ; $ this -> getEntityManager ( ) -> flush ( ) ; }
Update a client in the DB
@param  Client $client [description]
@return -
Update a client in the DB