ReflectionClass::getFile

Gets the declaring file for the reflected class

public function getFile(): ReflectionFile;

Return Values

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