public hasClassConstantWithFQSEN ( |
||
$fqsen | ||
return | boolean | True if an element with the given FQSEN exists |
/** * @return bool * True if a constant with the given name is defined * on this class. */ public function hasConstantWithName(CodeBase $code_base, string $name) : bool { return $code_base->hasClassConstantWithFQSEN(FullyQualifiedClassConstantName::make($this->getFQSEN(), $name)); }