Inheritance: extends AbstractFQSEN, use trait Phan\Language\FQSEN\Alternatives, use trait Phan\Memoize
Exemplo n.º 1
0
 /**
  * @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();
 }
Exemplo n.º 2
0
 /**
  * @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());
 }