public function all(): array
    {
        $results = [];
        \array_walk_recursive($this->results, function ($v) use (&$results) {
            $results[] = $v;
        });

        return $results;
    }
public function all(): array
    {
        $results = [];
        \array_walk_recursive($this->results, function ($v) use (&$results) {
            $results[] = $v;
        });

        return $results;
    }
public function all ( ) : array { $ results = [ ] ; \ array_walk_recursive ( $ this -> results , function ( $ v ) use ( & $ results ) { $ results [ ] = $ v ; } ) ; return $ results ; }
Get all Result objects.

@return Result[]
Get all Result objects .