Lines Matching refs:object
86 * @param mixed $object
90 public function copy($object) argument
94 return $this->recursiveCopy($object);
164 * @param object $object
170 private function copyObject($object) argument
172 $objectHash = spl_object_hash($object);
178 $reflectedObject = new ReflectionObject($object);
183 $this->hashMap[$objectHash] = $object;
185 return $object;
196 $newObject = clone $object;
214 private function copyObjectProperty($object, ReflectionProperty $property) argument
228 if ($matcher->matches($object, $property->getName())) {
230 $object,
232 function ($object) {
233 return $this->recursiveCopy($object);
245 if (method_exists($property, 'isInitialized') && !$property->isInitialized($object)) {
249 $propertyValue = $property->getValue($object);
252 $property->setValue($object, $this->recursiveCopy($propertyValue));