Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
abstractrule.php
1<?php
10
14
15abstract class AbstractRule implements RuleInterface
16{
17 /* @var AccessibleController $controller */
18 protected $controller;
19
20 /* @var AccessibleUser $user */
21 protected $user;
22
24 {
25 $this->controller = $controller;
26 $this->user = $controller->getUser();
27 }
28
29 abstract public function execute(AccessibleItem $item = null, $params = null): bool;
30}
execute(AccessibleItem $item=null, $params=null)
__construct(AccessibleController $controller)