1 | <?php |
||
20 | class InsecureRule extends Component implements RuleInterface |
||
21 | { |
||
22 | use LoggerTrait; |
||
23 | |||
24 | /** |
||
25 | * Default log level. |
||
26 | */ |
||
27 | const LEVEL = LogLevel::CRITICAL; |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function allows(ActorInterface $actor, string $permission, array $context): bool |
||
44 | } |