PHP Class Newscoop\GimmeBundle\Entity\AccessToken

Inheritance: extends FOS\OAuthServerBundle\Entity\AccessToken
Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$client Newscoop\GimmeBundle\Entity\Client
$id
$publication Newscoop\Entity\Publication
$user Symfony\Component\Security\Core\User\UserInterface

Public Methods

Method Description
getClient ( ) : Newscoop\GimmeBundle\Entity\Client Gets the value of client.
getId ( ) : mixed Gets the value of id.
getPublication ( ) : Newscoop\Entity\Publication Gets the value of publication.
getUser ( ) : User Gets the value of user.
setClient ( FOS\OAuthServerBundle\Model\ClientInterface $client ) : self Sets the value of client.
setId ( mixed $id ) : self Sets the value of id.
setPublication ( Publication $publication ) : self Sets the value of publication.
setUser ( Symfony\Component\Security\Core\User\UserInterface $user ) : self Sets the value of user.

Method Details

getClient() public method

Gets the value of client.
public getClient ( ) : Newscoop\GimmeBundle\Entity\Client
return Newscoop\GimmeBundle\Entity\Client

getId() public method

Gets the value of id.
public getId ( ) : mixed
return mixed

getPublication() public method

Gets the value of publication.
public getPublication ( ) : Newscoop\Entity\Publication
return Newscoop\Entity\Publication

getUser() public method

Gets the value of user.
public getUser ( ) : User
return Newscoop\Entity\User

setClient() public method

Sets the value of client.
public setClient ( FOS\OAuthServerBundle\Model\ClientInterface $client ) : self
$client FOS\OAuthServerBundle\Model\ClientInterface the client
return self

setId() public method

Sets the value of id.
public setId ( mixed $id ) : self
$id mixed the id
return self

setPublication() public method

Sets the value of publication.
public setPublication ( Publication $publication ) : self
$publication Newscoop\Entity\Publication the publication
return self

setUser() public method

Sets the value of user.
public setUser ( Symfony\Component\Security\Core\User\UserInterface $user ) : self
$user Symfony\Component\Security\Core\User\UserInterface
return self

Property Details

$client protected property

protected Newscoop\GimmeBundle\Entity\Client $client
return Newscoop\GimmeBundle\Entity\Client

$id protected property

protected $id

$publication protected property

protected Newscoop\Entity\Publication $publication
return Newscoop\Entity\Publication

$user protected property

protected UserInterface,Symfony\Component\Security\Core\User $user
return Symfony\Component\Security\Core\User\UserInterface