Phan\Language\Element\Clazz::hasPropertyWithName PHP Method

hasPropertyWithName() public method

public hasPropertyWithName ( CodeBase $code_base, string $name ) : boolean
$code_base Phan\CodeBase
$name string
return boolean
    public function hasPropertyWithName(CodeBase $code_base, string $name) : bool
    {
        return $code_base->hasPropertyWithFQSEN(FullyQualifiedPropertyName::make($this->getFQSEN(), $name));
    }