public function setClient(\FOS\OAuthServerBundle\Model\ClientInterface $client) { $this->client = $client; return $this; }