예제 #1
0
 /**
  * @param ClassDescriptor|InterfaceDescriptor|TraitDescriptor $parent
  */
 public function setParent($parent)
 {
     $this->setFullyQualifiedStructuralElementName($parent->getFullyQualifiedStructuralElementName() . '::' . $this->getName() . '()');
     // reset cached inherited element so that it can be re-detected.
     $this->inheritedElement = null;
     $this->parent = $parent;
 }
 /**
  * @param ClassDescriptor|InterfaceDescriptor|TraitDescriptor $parent
  */
 public function setParent($parent)
 {
     $this->setFullyQualifiedStructuralElementName($parent->getFullyQualifiedStructuralElementName() . '::' . $this->getName() . '()');
     $this->parent = $parent;
 }