src/Entity/ClientRepository.php
public function delete(Client $client)
    {
        $this->getEntityManager()->remove($client);
        $this->getEntityManager()->flush();
    }
public function delete(Client $client)
    {
        $this->getEntityManager()->remove($client);
        $this->getEntityManager()->flush();
    }
public function delete ( Client $ client ) { $ this -> getEntityManager ( ) -> remove ( $ client ) ; $ this -> getEntityManager ( ) -> flush ( ) ; }
Remove a client from the databasee
@param  Client $client A Client instance
@return [type]         [description]
Remove a client from the databasee