ReflectionClass::getFileName
( excerpt from http://php.net/manual/en/reflectionclass.getfilename.php )
public function getFileName(): mixed;
Gets the filename of the file in which the class has been defined.
Returns
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.