protected function validateClassStatement(Class_ $stmt)
    {
        $this->ensureCanDefine($stmt, self::CLASS_TYPE);
        if (isset($stmt->extends)) {
            $this->ensureClassExists($this->getFullyQualifiedName($stmt->extends), $stmt);
        }
        $this->ensureInterfacesExist($stmt->implements, $stmt);
    }
protected function validateClassStatement(Class_ $stmt)
    {
        $this->ensureCanDefine($stmt, self::CLASS_TYPE);
        if (isset($stmt->extends)) {
            $this->ensureClassExists($this->getFullyQualifiedName($stmt->extends), $stmt);
        }
        $this->ensureInterfacesExist($stmt->implements, $stmt);
    }
protected function validateClassStatement ( Class_ $ stmt ) { $ this -> ensureCanDefine ( $ stmt , self :: CLASS_TYPE ) ; if ( isset ( $ stmt -> extends ) ) { $ this -> ensureClassExists ( $ this -> getFullyQualifiedName ( $ stmt -> extends ) , $ stmt ) ; } $ this -> ensureInterfacesExist ( $ stmt -> implements , $ stmt ) ; }
Validate a class definition statement.

@param Class_ $stmt
Validate a class definition statement .