Свойство | Тип | Описание | |
---|---|---|---|
$modifiers | array | map modifiers for ACO paths to their respective PCRE pattern |
Свойство | Тип | Описание | |
---|---|---|---|
$_tree | array | holds internal ACO representation |
Метод | Описание | |
---|---|---|
__construct ( array $rules = [] ) | Constructor | |
access ( string $aro, string $aco, string $action, string $type = 'deny' ) : void | allow/deny ARO access to ARO | |
build ( array $allow, array $deny = [] ) : void | build a tree representation from the given allow/deny informations for ACO paths | |
path ( string $aco ) : array | return path to the requested ACO with allow and deny rules attached on each level | |
resolve ( string $aco ) : array | resolve given ACO string to a path |
public __construct ( array $rules = [] ) | ||
$rules | array | Rules array |
public static array $modifiers | ||
Результат | array |