public getClassConstantByFQSEN ( |
||
$fqsen | The FQSEN of a class constant to get | |
Результат | Phan\Language\Element\ClassConstant | A class constant with the given FQSEN |
/** * @return ClassConstant * The class constant with the given name. */ public function getConstantWithName(CodeBase $code_base, string $name) : ClassConstant { return $code_base->getClassConstantByFQSEN(FullyQualifiedClassConstantName::make($this->getFQSEN(), $name)); }