/** * @return FullyQualifiedClassElement * The FQSEN of this class element from where it was * originally defined */ public function getDefiningClassFQSEN() : FullyQualifiedClassName { if (is_null($this->defining_fqsen)) { throw new CodeBaseException($this->getFQSEN(), "No defining class for {$this->getFQSEN()}"); } return $this->defining_fqsen->getFullyQualifiedClassName(); }
/** * @param FullyQualifiedClassElement $fqsen * The FQSEN of a class element * * @return ClassMap * Get the class map for an FQSEN representing * a class element */ private function getClassMapByFQSEN(FullyQualifiedClassElement $fqsen) : ClassMap { return $this->getClassMapByFullyQualifiedClassName($fqsen->getFullyQualifiedClassName()); }