li3_access\extensions\adapter\security\access\Simple::check PHP Метод

check() публичный Метод

It doesn't care about anything else.
public check ( mixed $user, mixed $params, array $options = [] ) : Array
$user mixed The user data array that holds all necessary information about the user requesting access. Or `false` (because `Auth::check()` can return `false`).
$params mixed The Lithium `Request` object, or an array with at least 'request', and 'params'
$options array An array of additional options.
Результат Array An empty array if access is allowed and an array with reasons for denial if denied.
    public function check($user, $params, array $options = array())
    {
        return !$user ? $options : array();
    }
Simple