W3cubDocs

/Phalcon 2

Class Phalcon\Acl\Resource

implements Phalcon\Acl\ResourceInterface

This class defines resource entity and its description

Methods

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

Phalcon\Acl\Resource constructor

public string getName ()

Returns the resource name

public string getDescription ()

Returns resource 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_Resource.html