Documentation

Class Phalcon\Acl\Role

implements Phalcon\Acl\RoleInterface

Source on GitHub

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