1 | <?php |
||
13 | class PostCollectionLoadEventArgs extends ManagerEventArgs |
||
14 | { |
||
15 | /** |
||
16 | * @var PersistentCollectionInterface |
||
17 | */ |
||
18 | private $collection; |
||
19 | |||
20 | /** |
||
21 | * @param PersistentCollectionInterface $collection |
||
22 | * @param DocumentManager $dm |
||
23 | */ |
||
24 | 161 | public function __construct(PersistentCollectionInterface $collection, DocumentManager $dm) |
|
29 | |||
30 | /** |
||
31 | * Gets collection that was just initialized (loaded). |
||
32 | * |
||
33 | * @return PersistentCollectionInterface |
||
34 | */ |
||
35 | 1 | public function getCollection() |
|
39 | } |
||
40 |