ReflectionExtension::__clone
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Clones
Description
ReflectionExtension::__clone(): void
The clone method prevents an object from being cloned. Reflection objects cannot be cloned.
Parameters Parameters
Return Values
No value is returned, if called a fatal error will occur.
Changelog
| Version | Description |
|---|---|
| 8.1.0 | This method is no longer final. |
See Also
ReflectionExtension::__construct- Object cloning