|
ReflectionConstant::getExtensionGets ReflectionExtension of the defining extension Description
public ReflectionExtensionnull ReflectionConstant::getExtension()
Gets a ReflectionExtension object for the extension which defined the constant. ParametersThis function has no parameters. Return Values
A ReflectionExtension object representing the
extension which defined the constant, or ExamplesExample #1 Basic usage of ReflectionConstant::getExtension The above example will output:
object(ReflectionExtension)#2 (1) {
["name"]=>
string(7) "sqlite3"
}
See Also
|