W3cubDocs

/Phalcon 2

Class Phalcon\Acl\Role

implements Phalcon\Acl\RoleInterface

This class defines role entity and its description

Methods

public __construct (string $name, [string $description])

Phalcon\Acl\Role description

public string getName ()

Returns the role name

public string getDescription ()

Returns role description

public string __toString ()

Magic method __toString

© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Acl_Role.html