Total Complexity | 6 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | class UserEventMenuClickMiniProgram extends Event implements Contract |
||
15 | { |
||
16 | public function getPage(): string |
||
17 | { |
||
18 | return $this->getEventKey(); |
||
|
|||
19 | } |
||
20 | |||
21 | public function getMenuId(): string |
||
22 | { |
||
23 | return $this->getMessage('MenuId'); |
||
24 | } |
||
25 | |||
26 | public function isMenuId(...$ids): bool |
||
34 | } |
||
35 | |||
36 | public function isPage($pattern): bool |
||
39 | } |
||
40 | } |
||
41 |