src/BatchResult.php
public function getResponses(): array
    {
        $responses = [];

        foreach ($this->responses as $request) {
            $responses[] = $this->responses[$request];
        }

        return $responses;
    }
public function getResponses(): array
    {
        $responses = [];

        foreach ($this->responses as $request) {
            $responses[] = $this->responses[$request];
        }

        return $responses;
    }
public function getResponses ( ) : array { $ responses = [ ] ; foreach ( $ this -> responses as $ request ) { $ responses [ ] = $ this -> responses [ $ request ] ; } return $ responses ; }
Returns all successful responses.

@return ResponseInterface[]
Returns all successful responses .