GoLang ReflectionClass::getConstant

request it (317)
GoLang replacement for PHP's ReflectionClass::getConstant [edit | history]



Do you know a GoLang replacement for PHP's ReflectionClass::getConstant? Write it!

PHP ReflectionClass::getConstant

PHP original manual for ReflectionClass::getConstant [ show | php.net ]

ReflectionClass::getConstant

(PHP 5, PHP 7)

ReflectionClass::getConstantGets defined constant

Description

public mixed ReflectionClass::getConstant ( string $name )

Gets the defined constant.

Warning

This function is currently not documented; only its argument list is available.

Parameters

name

Name of the constant.

Return Values

Value of the constant.

See Also