PHP Class WellCommerce\Bundle\AdminBundle\Entity\Role

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\AdminBundle\Entity\RoleInterface
Exibir arquivo Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$name string
$role string | null
$users Doctrine\Common\Collections\Collection

Public Methods

Method Description
getName ( ) : string
getRole ( ) : string
getUsers ( ) : Doctrine\Common\Collections\Collection
setName ( string $name )
setRole ( string $role )
setUsers ( Doctrine\Common\Collections\Collection $users )

Method Details

getName() public method

public getName ( ) : string
return string

getRole() public method

public getRole ( ) : string
return string

getUsers() public method

public getUsers ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

setName() public method

public setName ( string $name )
$name string

setRole() public method

public setRole ( string $role )
$role string

setUsers() public method

public setUsers ( Doctrine\Common\Collections\Collection $users )
$users Doctrine\Common\Collections\Collection

Property Details

$name protected_oe property

protected string $name
return string

$role protected_oe property

protected string|null $role
return string | null

$users protected_oe property

protected Collection,Doctrine\Common\Collections $users
return Doctrine\Common\Collections\Collection