Lines Matching refs:object
83 * @param mixed $object
87 public function copy($object) argument
91 return $this->recursiveCopy($object);
153 * @param object $object
159 private function copyObject($object) argument
161 $objectHash = spl_object_hash($object);
167 $reflectedObject = new ReflectionObject($object);
172 $this->hashMap[$objectHash] = $object;
174 return $object;
185 $newObject = clone $object;
203 private function copyObjectProperty($object, ReflectionProperty $property) argument
217 if ($matcher->matches($object, $property->getName())) {
219 $object,
221 function ($object) {
222 return $this->recursiveCopy($object);
232 $propertyValue = $property->getValue($object);
235 $property->setValue($object, $this->recursiveCopy($propertyValue));