/** * Returns the name of the declaring source file. * * @return string */ public function getFileName() { return (string) $this->node->getCompilationUnit()->getFileName(); }