1 | <?php |
||
14 | abstract class UnauthorizedListItem |
||
15 | { |
||
16 | /** @var string */ |
||
17 | private $module; |
||
18 | |||
19 | /** @var string */ |
||
20 | private $function; |
||
21 | |||
22 | /** @var array */ |
||
23 | private $payload; |
||
24 | |||
25 | /** |
||
26 | * @param string $module |
||
27 | * @param string $function |
||
28 | * @param array $payload |
||
29 | */ |
||
30 | public function __construct(string $module, string $function, array $payload) |
||
36 | |||
37 | /** |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getModule(): string |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getFunction(): string |
||
52 | |||
53 | /** |
||
54 | * @return array |
||
55 | */ |
||
56 | public function getPayload(): array |
||
60 | } |
||
61 |