◆ __construct()
DeepCopy\DeepCopy::__construct |
( |
|
$useCloneMethod = false | ) |
|
- Parameters
-
bool | $useCloneMethod | If set to true, when an object implements the __clone() function, it will be used instead of the regular deep cloning. |
◆ addFilter()
DeepCopy\DeepCopy::addFilter |
( |
Filter |
$filter, |
|
|
Matcher |
$matcher |
|
) |
| |
◆ addTypeFilter()
◆ copy()
DeepCopy\DeepCopy::copy |
( |
|
$object | ) |
|
◆ prependFilter()
DeepCopy\DeepCopy::prependFilter |
( |
Filter |
$filter, |
|
|
Matcher |
$matcher |
|
) |
| |
◆ skipUncloneable()
DeepCopy\DeepCopy::skipUncloneable |
( |
|
$skipUncloneable = true | ) |
|
If enabled, will not throw an exception when coming across an uncloneable property.
- Parameters
-
- Returns
- $this
The documentation for this class was generated from the following file: