public function setPublicKey(\OAuth2\ServerBundle\Entity\ClientPublicKey $public_key = null)
    {
        $this->public_key = $public_key;

        return $this;
    }
public function setPublicKey(\OAuth2\ServerBundle\Entity\ClientPublicKey $public_key = null)
    {
        $this->public_key = $public_key;

        return $this;
    }
public function setPublicKey ( \ OAuth2 \ ServerBundle \ Entity \ ClientPublicKey $ public_key = null ) { $ this -> public_key = $ public_key ; return $ this ; }
Set public key

@param  \OAuth2\ServerBundle\Entity\ClientPublicKey $public_key
@return Client
Set public key