ReflectionAttribute::newInstance
PHP function
Edit on GitHub ✎
(PHP 8)
Instantiates the attribute class represented by this ReflectionAttribute class and arguments
Description
ReflectionAttribute::newInstance(): object
Instantiates the attribute class represented by this ReflectionAttribute class and arguments.
Parameters Parameters
Return Values
New instance of the attribute.