PHP Class Ikwattro\GuzzleStereo\Formatter\ResponseFormatter

Show file Open project: ikwattro/guzzle-stereo Class Usage Examples

Protected Properties

Property Type Description
$markerHeader

Public Methods

Method Description
__construct ( $markerHeader = false )
encodeResponsesCollection ( array $responses )
formatResponse ( Psr\Http\Message\ResponseInterface $response )
rebuildFromTape ( $tapeContent )
rebuildTrack ( array $trackContent )

Method Details

__construct() public method

public __construct ( $markerHeader = false )

encodeResponsesCollection() public method

public encodeResponsesCollection ( array $responses )
$responses array

formatResponse() public method

public formatResponse ( Psr\Http\Message\ResponseInterface $response )
$response Psr\Http\Message\ResponseInterface

rebuildFromTape() public method

public rebuildFromTape ( $tapeContent )

rebuildTrack() public method

public rebuildTrack ( array $trackContent )
$trackContent array

Property Details

$markerHeader protected property

protected $markerHeader