ReflectionConstant::__construct

(PHP 8 >= 8.4.0)

ReflectionConstant::__constructConstructs a ReflectionConstant

Descripción

public ReflectionConstant::__construct(string $name)

Constructs a new ReflectionConstant object.

Parámetros

name
The name of the constant.

Errores/Excepciones

Throws a ReflectionException in case the given constant does not exist.

Ver también

add a note

User Contributed Notes

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