1 | <?php |
||
7 | class ActionList { |
||
8 | |||
9 | /** @var array|ActionListItem[] */ |
||
10 | private $actions; |
||
11 | |||
12 | /** @var ActionGroups */ |
||
13 | private $groups; |
||
14 | |||
15 | /** |
||
16 | * @param ActionGroups $groups |
||
17 | * @param ActionListItem[] $actions |
||
18 | */ |
||
19 | public function __construct(ActionGroups $groups, array $actions) { |
||
23 | |||
24 | public function hasGroups() { |
||
27 | |||
28 | public function getAllActions() { |
||
31 | |||
32 | public function getGroups() { |
||
35 | |||
36 | public function getActionsOf($group) { |
||
42 | } |