@@ -44,6 +44,9 @@ |
||
44 | 44 | return $this->{$name}; |
45 | 45 | } |
46 | 46 | |
47 | + /** |
|
48 | + * @param string $name |
|
49 | + */ |
|
47 | 50 | private function hasCollection($name) |
48 | 51 | { |
49 | 52 | return property_exists($this, $name) && is_a($this->{$name}, CollectionInterface::class); |