1 | <?php |
||
17 | class UnauthorizedContentDraftListItem implements ContentDraftListItemInterface |
||
18 | { |
||
19 | /** @var string */ |
||
20 | private $module; |
||
21 | |||
22 | /** @var string */ |
||
23 | private $function; |
||
24 | |||
25 | /** @var array */ |
||
26 | private $payload; |
||
27 | |||
28 | /** |
||
29 | * @param string $module |
||
30 | * @param string $function |
||
31 | * @param array $payload |
||
32 | */ |
||
33 | public function __construct(string $module, string $function, array $payload) |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getModule(): string |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getFunction(): string |
||
55 | |||
56 | /** |
||
57 | * @return array |
||
58 | */ |
||
59 | public function getPayload(): array |
||
63 | |||
64 | /** |
||
65 | * @return \eZ\Publish\API\Repository\Values\Content\VersionInfo|null |
||
66 | */ |
||
67 | public function getVersionInfo(): ?VersionInfo |
||
71 | |||
72 | /** |
||
73 | * @return bool |
||
74 | */ |
||
75 | public function hasVersionInfo(): bool |
||
79 | } |
||
80 |