public ability ( string | array $roles, string | array $permissions, string | boolean $group = null, array $options = [] ) : array | boolean | ||
$roles | string | array | Array of roles or comma separated string |
$permissions | string | array | Array of permissions or comma separated string. |
$group | string | boolean | Group or options value |
$options | array | validate_all (true|false) or return_type (boolean|array|both) |
return | array | boolean |