protected function processClassStatement(Class_ $statement, string $prefix, array $uses = []): void
    {
        $class = $statement;
        $fullClassName = $prefix . '\\' . (string)$class->name;

        $this->classes[$fullClassName] = [
            'file' => $this->file,
            'line' => $class->getAttribute('startLine'),
            'name' => $fullClassName,
            'docblock' => $this->getDocBlock($class, $uses),
        ];

        foreach ($statement->stmts as $method) {
            if (!($method instanceof ClassMethod)) {
                continue;
            }

            $this->processClassMethod($method, $fullClassName, $uses);
        }
    }
protected function processClassStatement(Class_ $statement, string $prefix, array $uses = []): void
    {
        $class = $statement;
        $fullClassName = $prefix . '\\' . (string)$class->name;

        $this->classes[$fullClassName] = [
            'file' => $this->file,
            'line' => $class->getAttribute('startLine'),
            'name' => $fullClassName,
            'docblock' => $this->getDocBlock($class, $uses),
        ];

        foreach ($statement->stmts as $method) {
            if (!($method instanceof ClassMethod)) {
                continue;
            }

            $this->processClassMethod($method, $fullClassName, $uses);
        }
    }
protected function processClassStatement ( Class_ $ statement , string $ prefix , array $ uses = [ ] ) : void { $ class = $ statement ; $ fullClassName = $ prefix . '\\' . ( string ) $ class -> name ; $ this -> classes [ $ fullClassName ] = [ 'file' => $ this -> file , 'line' => $ class -> getAttribute ( 'startLine' ) , 'name' => $ fullClassName , 'docblock' => $ this -> getDocBlock ( $ class , $ uses ) , ] ; foreach ( $ statement -> stmts as $ method ) { if ( ! ( $ method instanceof ClassMethod ) ) { continue ; } $ this -> processClassMethod ( $ method , $ fullClassName , $ uses ) ; } }
Process class statements.

@param Class_ $statement
@param string $prefix
@param array $uses
Process class statements .