Overview

Namespaces

  • Loco
    • Http
      • Response

Classes

  • RawResponse
  • ZipResponse
  • Overview
  • Namespace
  • Class
  • Tree

Class ZipResponse

Response class for endpoints that return binary zip files.

Loco\Http\Response\RawResponse implements Guzzle\Service\Command\ResponseClassInterface
Extended by Loco\Http\Response\ZipResponse implements Guzzle\Service\Command\ResponseClassInterface
Namespace: Loco\Http\Response
Located at Loco/Http/Response/ZipResponse.php
Methods summary
public static Loco\Http\Response\ZipResponse
# fromCommand( Guzzle\Service\Command\OperationCommand $command )

Create a response model object from a completed command

Create a response model object from a completed command

Parameters

$command
Guzzle\Service\Command\OperationCommand
Command that serialized the request

Returns

Loco\Http\Response\ZipResponse

Throws

BadResponseException

Overrides

Loco\Http\Response\RawResponse::fromCommand()
public ZipArchive
# getZip( )

Get zip archive instance.

Get zip archive instance.

Returns

ZipArchive

Throws

Exception
if zip file is invalid
Methods inherited from Loco\Http\Response\RawResponse
__toString()
Loco SDK - PHP API documentation generated by ApiGen 2.8.0