src/Rule.php
public static function allow(Subject $subject, array $verbs = null): Rule
    {
        return new self($subject, true, $verbs);
    }
public static function allow(Subject $subject, array $verbs = null): Rule
    {
        return new self($subject, true, $verbs);
    }
public static function allow ( Subject $ subject , array $ verbs = null ) : Rule { return new self ( $ subject , true , $ verbs ) ; }
Creates an allowing Rule.

@param \Caridea\Acl\Subject $subject The subject to allow access
@param array<string>|null $verbs Optional list of allowed verbs.
Empty or `null` means *all*.
@return Rule The allowing Rule
Creates an allowing Rule .