ReflectionConstant::__construct
PHP Manual
PHP Manual»ReflectionConstant»ReflectionConstant::__construct

ReflectionConstant::__construct

(PHP 8 >= 8.4.0)

ReflectionConstant::__constructConstructs a ReflectionConstant

Descrizione

public function ReflectionConstant::__construct(string $name)

Constructs a new ReflectionConstant object.

Elenco dei parametri

name
The name of the constant.

Errori/Eccezioni

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

Vedere anche:

To Top