Newscoop\Entity\User::hasClient PHP Method

hasClient() public method

Has client
public hasClient ( Client $client ) : boolean
$client Newscoop\GimmeBundle\Entity\Client
return boolean
    public function hasClient(\Newscoop\GimmeBundle\Entity\Client $client)
    {
        if ($this->clients->contains($client)) {
            return true;
        }
        return false;
    }