ReflectionClass::getFile

Gets the declaring file for the reflected class

public function getFile(): ReflectionFile;

Returns

  • ReflectionFile - A ReflectionFile object of the file that the reflected class is part of.