php8.5
Home/ Manual/ reflection / reflectionfunctionabstract/ ReflectionFunctionAbstract::getNamespaceName

ReflectionFunctionAbstract::getNamespaceName

PHP function Edit on GitHub ✎

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Gets namespace name

Description

ReflectionFunctionAbstract::getNamespaceName(): string

Get the namespace name where the class is defined.

Parameters Parameters

Return Values

The namespace name.

See Also

Source: reference/reflection/reflectionfunctionabstract/getnamespacename.xml · from the official PHP manual (php/doc-en)