ReflectionClass::getFileName

( excerpt from http://php.net/manual/en/reflectionclass.getfilename.php )

Description

public function getFileName(): mixed

( excerpt from http://php.net/manual/en/reflectionclass.getfilename.php )

Gets the filename of the file in which the class has been defined.

Return Values

  • mixed - Returns the filename of the file in which the class has been defined. If the class is defined in the PHP core or in a PHP extension, FALSE is returned.