Roles
, (*1)
Provides roles for users., (*2)
Bindings
The following prototype bindings are provided for User instances:, (*3)
-
$roles
: The roles associated with a user., (*4)
$user->roles; // Icybee\Modules\Users\Roles\Role[]
-
$role
: The aggregate role associated with a user., (*5)
$user->role; // Icybee\Modules\Users\Roles\Role
Requirement
The package requires PHP 5.5 or later., (*6)
Installation
The recommended way to install this package is through Composer:, (*7)
$ composer require icybee/module-users-roles
This module is part of the modules required by Icybee., (*8)
Cloning the repository
The package is available on GitHub, its repository can be
cloned with the following command line:, (*9)
$ git clone https://github.com/Icybee/module-users-roles.git users.roles
Documentation
The package is documented as part of the Icybee CMS
documentation. The documentation for the package and its
dependencies can be generated with the make doc
command. The documentation is generated in
the docs
directory using ApiGen. The package directory can later by
cleaned with the make clean
command., (*10)
License
The module is licensed under the New BSD License - See the LICENSE file for details., (*11)