Searched refs:useCloneMethod (Results 1 – 4 of 4) sorted by relevance
12 * @param bool $useCloneMethod16 function deep_copy($value, $useCloneMethod = false) argument18 return (new DeepCopy($useCloneMethod))->copy($value);
52 private $useCloneMethod; variable in DeepCopy\\DeepCopy55 …* @param bool $useCloneMethod If set to true, when an object implements the __clone() function, …58 public function __construct($useCloneMethod = false) argument60 $this->useCloneMethod = $useCloneMethod;188 if ($this->useCloneMethod && $reflectedObject->hasMethod('__clone')) {
12 * @param bool $useCloneMethod16 function deep_copy($value, $useCloneMethod = false) argument 18 return (new DeepCopy($useCloneMethod))->copy($value);
54 private $useCloneMethod; variable in DeepCopy\\DeepCopy 57 * @param bool $useCloneMethod If set to true, when an object implements the __clone() function, it will be used60 public function __construct($useCloneMethod = false) argument 62 $this->useCloneMethod = $useCloneMethod;199 if ($this->useCloneMethod && $reflectedObject->hasMethod('__clone')) {