PHP 8.1.0 RC 2 available for testing

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top