Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

What does the "Role" in Acl?

What is the difference between these two versions?

$acl->addRole("Admin");
$acl->addRole(new Phalcon\Acl\Role("Admin"));


107.4k
Accepted
answer

Only one diffrence here that Role object can have description.