Library/ClassDefinition.php
public function hasProperty($name)
    {
        if (isset($this->properties[$name])) {
            return true;
        } else {
            $extendsClassDefinition = $this->getExtendsClassDefinition();
            if ($extendsClassDefinition) {
                if ($extendsClassDefinition->hasProperty($name)) {
                    return true;
                }
            }

            return false;
        }
    }
public function hasProperty($name)
    {
        if (isset($this->properties[$name])) {
            return true;
        } else {
            $extendsClassDefinition = $this->getExtendsClassDefinition();
            if ($extendsClassDefinition) {
                if ($extendsClassDefinition->hasProperty($name)) {
                    return true;
                }
            }

            return false;
        }
    }
public function hasProperty ( $ name ) { if ( isset ( $ this -> properties [ $ name ] ) ) { return true ; } else { $ extendsClassDefinition = $ this -> getExtendsClassDefinition ( ) ; if ( $ extendsClassDefinition ) { if ( $ extendsClassDefinition -> hasProperty ( $ name ) ) { return true ; } } return false ; } }
Checks if a class definition has a property.

@param string $name

@return bool
Checks if a class definition has a property .