ReflectionAttribute::newInstance
PHP Manual
PHP Manual»ReflectionAttribute»ReflectionAttribute::newInstance

ReflectionAttribute::newInstance

(PHP 8)

ReflectionAttribute::newInstanceInstantiates the attribute class represented by this ReflectionAttribute class and arguments

Descrizione

public function ReflectionAttribute::newInstance(): object

Instantiates the attribute class represented by this ReflectionAttribute class and arguments.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

New instance of the attribute.

To Top