/** * Returns the file name the property is defined in. * * @return string */ public function getFileName() { return $this->declaringClass->getFileName(); }