Newscoop\Entity\User::hasClient PHP Метод

hasClient() публичный Метод

Has client
public hasClient ( Client $client ) : boolean
$client Newscoop\GimmeBundle\Entity\Client
Результат boolean
    public function hasClient(\Newscoop\GimmeBundle\Entity\Client $client)
    {
        if ($this->clients->contains($client)) {
            return true;
        }
        return false;
    }