1 | <?php |
||
18 | class EntityCloner extends Cloner |
||
19 | { |
||
20 | /** |
||
21 | * @var ObjectManager |
||
22 | */ |
||
23 | private $objectManager; |
||
24 | |||
25 | /** |
||
26 | * EntityCloner constructor. |
||
27 | * |
||
28 | * @param ClonerInterface $clonerManager |
||
29 | * @param Options\ClonerOptions $options |
||
30 | * @param ObjectManager $objectManager |
||
31 | */ |
||
32 | public function __construct( |
||
39 | |||
40 | /** |
||
41 | * @param mixed $object |
||
42 | * @param string $relationName |
||
43 | * @param Options\Cloner\RelationOptions $options |
||
44 | * |
||
45 | * @return ArrayCollection|mixed |
||
46 | */ |
||
47 | protected function handleRelation($object, $relationName, Options\Cloner\RelationOptions $options) |
||
55 | |||
56 | /** |
||
57 | * @param mixed $object |
||
58 | * @param mixed $cloneObject |
||
59 | */ |
||
60 | protected function afterClone($object, $cloneObject) |
||
66 | |||
67 | /** |
||
68 | * @return ObjectManager |
||
69 | */ |
||
70 | protected function getObjectManager() |
||
74 | } |
||
75 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.