These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | namespace FOS\ElasticaBundle\Persister\Event; |
||
3 | |||
4 | use FOS\ElasticaBundle\Persister\ObjectPersisterInterface; |
||
5 | use FOS\ElasticaBundle\Provider\PagerInterface; |
||
6 | use Symfony\Component\EventDispatcher\Event; |
||
7 | |||
8 | final class PostInsertObjectsEvent extends Event implements PersistEvent |
||
0 ignored issues
–
show
|
|||
9 | { |
||
10 | /** |
||
11 | * @var PagerInterface |
||
12 | */ |
||
13 | private $pager; |
||
14 | |||
15 | /** |
||
16 | * @var ObjectPersisterInterface |
||
17 | */ |
||
18 | private $objectPersister; |
||
19 | |||
20 | /** |
||
21 | * @var object[] |
||
22 | */ |
||
23 | private $objects; |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | private $options; |
||
29 | |||
30 | 19 | View Code Duplication | public function __construct(PagerInterface $pager, ObjectPersisterInterface $objectPersister, array $objects, array $options) |
31 | { |
||
32 | 19 | $this->pager = $pager; |
|
33 | 19 | $this->objectPersister = $objectPersister; |
|
34 | 19 | $this->objects = $objects; |
|
35 | 19 | $this->options = $options; |
|
36 | 19 | } |
|
37 | |||
38 | /** |
||
39 | * @return PagerInterface |
||
40 | */ |
||
41 | 6 | public function getPager() |
|
42 | { |
||
43 | 6 | return $this->pager; |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return array |
||
48 | */ |
||
49 | 2 | public function getOptions() |
|
50 | { |
||
51 | 2 | return $this->options; |
|
52 | } |
||
53 | |||
54 | /** |
||
55 | * @return ObjectPersisterInterface |
||
56 | */ |
||
57 | 2 | public function getObjectPersister() |
|
58 | { |
||
59 | 2 | return $this->objectPersister; |
|
60 | } |
||
61 | |||
62 | /** |
||
63 | * @return object[] |
||
64 | */ |
||
65 | 2 | public function getObjects() |
|
66 | { |
||
67 | 2 | return $this->objects; |
|
68 | } |
||
69 | } |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.