ReflectionAttribute::newInstance

(PHP 8)

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

Опис

public ReflectionAttribute::newInstance(): object

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

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

New instance of the attribute.