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

hasGetOrSetMethod() public method

public hasGetOrSetMethod ( CodeBase $code_base ) : boolean
$code_base Phan\CodeBase The entire code base from which we'll find ancestor details
return boolean True if this class has a magic '__get' or '__set' method
    public function hasGetOrSetMethod(CodeBase $code_base)
    {
        return $this->hasGetMethod($code_base) || $this->hasSetMethod($code_base);
    }