Property | Type | Description | |
---|---|---|---|
$config | null | array | ||
$formatter | |||
$mixer | |||
$storeDirectory | string | ||
$tapes | Ikwattro\GuzzleStereo\Record\Tape[] | ||
$writer |
Method | Description | |
---|---|---|
__construct ( string $storeDirectory, null | string $configurationFile = null ) | ||
addTape ( Ikwattro\GuzzleStereo\Record\Tape $tape ) | ||
dump ( ) | Dumps the tapes on disk. | |
getConfig ( ) : null | array | ||
getResponseFormatter ( ) : |
||
getStore ( ) : null | string | ||
getTape ( string $name ) : Ikwattro\GuzzleStereo\Record\Tape | ||
getTapeContent ( string $name ) : null | string | Returns the content of a specific tape without writing it to disk. | |
getTapes ( ) : Ikwattro\GuzzleStereo\Record\Tape[] | ||
getWriter ( ) : |
||
loadConfig ( string $configurationFile ) | ||
record ( Psr\Http\Message\ResponseInterface $response ) |
Method | Description | |
---|---|---|
processConfig ( ) | Process configuration for registering tapes and filters. |
public addTape ( Ikwattro\GuzzleStereo\Record\Tape $tape ) | ||
$tape | Ikwattro\GuzzleStereo\Record\Tape |
public getResponseFormatter ( ) : |
||
return |
public getTapes ( ) : Ikwattro\GuzzleStereo\Record\Tape[] | ||
return | Ikwattro\GuzzleStereo\Record\Tape[] |
public loadConfig ( string $configurationFile ) | ||
$configurationFile | string |
public record ( Psr\Http\Message\ResponseInterface $response ) | ||
$response | Psr\Http\Message\ResponseInterface |
protected ResponseFormatter,Ikwattro\GuzzleStereo\Formatter $formatter | ||
return |
protected Tape[],Ikwattro\GuzzleStereo\Record $tapes | ||
return | Ikwattro\GuzzleStereo\Record\Tape[] |