ReflectionAttribute::newInstance

(PHP 8)

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

Description

public ReflectionAttribute::newInstance(): object

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

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

New instance of the attribute.