1 | <?php |
||
18 | final class PostAsyncInsertObjectsEvent extends Event implements PersistEvent |
||
19 | { |
||
20 | /** |
||
21 | * @var PagerInterface |
||
22 | */ |
||
23 | private $pager; |
||
24 | |||
25 | /** |
||
26 | * @var ObjectPersisterInterface |
||
27 | */ |
||
28 | private $objectPersister; |
||
29 | |||
30 | /** |
||
31 | * @var int |
||
32 | */ |
||
33 | private $objectsCount; |
||
34 | |||
35 | /** |
||
36 | * @var string|null |
||
37 | */ |
||
38 | private $errorMessage; |
||
39 | |||
40 | /** |
||
41 | * @var array |
||
42 | */ |
||
43 | private $options; |
||
44 | |||
45 | 6 | public function __construct(PagerInterface $pager, ObjectPersisterInterface $objectPersister, int $objectsCount, ?string $errorMessage, array $options) |
|
53 | |||
54 | 1 | public function getPager(): PagerInterface |
|
58 | |||
59 | 1 | public function getOptions(): array |
|
63 | |||
64 | 1 | public function getObjectPersister(): ObjectPersisterInterface |
|
68 | |||
69 | 1 | public function getErrorMessage(): ?string |
|
73 | |||
74 | 1 | public function getObjectsCount(): int |
|
78 | } |
||
79 |