class RuleList

Class RuleList maintains list of built-in and user defined functions (in permissions-conditions config) which can be checked using DeviseUser Facade.

Properties

array $closures Closures are kept in an array and can be used to execute user-defined condition(s) permissions/closures by key
array $rules Rules are a list of built-in methods in this class which are kept in an array; They are used to find and execute methods by name

Methods

__construct(DvsUser $User, Framework $Framework)

Construct a new RuleList

Void
__call(string $method, array $arguments = array())

Handle execution of the different types of methods

Details

at line 56
__construct(DvsUser $User, Framework $Framework)

Construct a new RuleList

Parameters

DvsUser $User
Framework $Framework

at line 71
Void __call(string $method, array $arguments = array())

Handle execution of the different types of methods

Parameters

string $method Name of function/method
array $arguments Any arguments required by method

Return Value

Void | Exception

Exceptions

Exception