1 | <?php |
||
21 | abstract class BaseRuleDelegate extends Rule implements ProvidesSymbol |
||
22 | { |
||
23 | /** |
||
24 | * @return Mapping |
||
25 | */ |
||
26 | protected function map(): Mapping |
||
30 | |||
31 | /** |
||
32 | * @param string|null $rule |
||
33 | * @return int |
||
34 | */ |
||
35 | protected function getId(string $rule = null): int |
||
39 | |||
40 | /** |
||
41 | * @return array|int[] |
||
42 | */ |
||
43 | protected function getChildrenRuleIds(): array |
||
55 | |||
56 | /** |
||
57 | * @return iterable|Symbol[] |
||
58 | */ |
||
59 | public function getChildrenRules(): iterable |
||
70 | } |
||
71 |