ReflectionClass::getFileName

( excerpt from http://php

Description

public function getFileName(): mixed

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.