ReflectionFunctionAbstract::inNamespace
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Checks if function in namespace
Description
ReflectionFunctionAbstract::inNamespace(): bool
Checks whether a function is defined in a namespace.
Parameters Parameters
Return Values
true if it's in a namespace, otherwise false
See Also
ReflectionFunctionAbstract::getNamespaceName- namespaces