ReflectionAttribute::newInstance

(PHP 8)

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

Descripción

public ReflectionAttribute::newInstance(): object

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

New instance of the attribute.