Total Complexity | 7 |
Total Lines | 71 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class BufferedCollect |
||
8 | { |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $objects; |
||
13 | |||
14 | /** |
||
15 | * @var AssociationPath |
||
16 | */ |
||
17 | protected $associationPath; |
||
18 | |||
19 | /** |
||
20 | * @var array|null |
||
21 | */ |
||
22 | protected $associatedEntities; |
||
23 | |||
24 | /** |
||
25 | * @param array $objects |
||
26 | * @param string[] $associationNames |
||
27 | */ |
||
28 | public function __construct( |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return array |
||
38 | */ |
||
39 | public function getObjects(): array |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @return AssociationPath |
||
46 | */ |
||
47 | public function getAssociationPath(): AssociationPath |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @param array $associatedEntities |
||
54 | * |
||
55 | * @throws \Exception |
||
56 | */ |
||
57 | public function setAssociatedEntities(array $associatedEntities) |
||
64 | } |
||
65 | |||
66 | /** |
||
67 | * @return array |
||
68 | * |
||
69 | * @throws \Exception |
||
70 | */ |
||
71 | public function getAssociatedEntities(): array |
||
80 |