1 | <?php |
||
16 | class TransformEvent extends Event |
||
17 | { |
||
18 | const POST_TRANSFORM = 'fos_elastica.post_transform'; |
||
19 | |||
20 | /** |
||
21 | * @var mixed |
||
22 | */ |
||
23 | private $document; |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | private $fields; |
||
29 | |||
30 | /** |
||
31 | * @var mixed |
||
32 | */ |
||
33 | private $object; |
||
34 | |||
35 | /** |
||
36 | * @param mixed $document |
||
37 | * @param array $fields |
||
38 | * @param mixed $object |
||
39 | */ |
||
40 | 1 | public function __construct($document, array $fields, $object) |
|
46 | |||
47 | /** |
||
48 | * @return mixed |
||
49 | */ |
||
50 | 1 | public function getDocument() |
|
54 | |||
55 | /** |
||
56 | * @return array |
||
57 | */ |
||
58 | public function getFields() |
||
62 | |||
63 | /** |
||
64 | * @return mixed |
||
65 | */ |
||
66 | public function getObject() |
||
70 | |||
71 | /** |
||
72 | * @param mixed $document |
||
73 | */ |
||
74 | public function setDocument($document) |
||
78 | } |
||
79 |