public getTraitUse ( $name ) : TheSeer\phpDox\Collector\TraitUseObject | ||
$name | ||
return | TheSeer\phpDox\Collector\TraitUseObject |
private function getTraitUse($traitName) { if (!$this->unit->usesTtrait($traitName)) { throw new ParseErrorException(sprintf('Referenced trait "%s" not used', $traitName), ParseErrorException::GeneralParseError); } return $this->unit->getTraitUse($traitName); }