PHP Class InterNations\Component\HttpMock\RequestCollectionFacade

Afficher le fichier Open project: internations/http-mock

Méthodes publiques

Méthode Description
__construct ( Guzzle\Http\ClientInterface $client )
at ( integer $position ) : InterNations\Component\HttpMock\Request\UnifiedRequest
count ( )
first ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
last ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
latest ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
pop ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
shift ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest

Private Methods

Méthode Description
configureRequest ( Guzzle\Http\Message\RequestInterface $request, array $server, array $enclosure )
deleteRecordedRequest ( $path )
getRecordedRequest ( $path )
parseRequestFromResponse ( Guzzle\Http\Message\Response $response, string $path ) : InterNations\Component\HttpMock\Request\UnifiedRequest
parseResponse ( Guzzle\Http\Message\Response $response, $path )

Method Details

__construct() public méthode

public __construct ( Guzzle\Http\ClientInterface $client )
$client Guzzle\Http\ClientInterface

at() public méthode

public at ( integer $position ) : InterNations\Component\HttpMock\Request\UnifiedRequest
$position integer
Résultat InterNations\Component\HttpMock\Request\UnifiedRequest

count() public méthode

public count ( )

first() public méthode

public first ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
Résultat InterNations\Component\HttpMock\Request\UnifiedRequest

last() public méthode

public last ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
Résultat InterNations\Component\HttpMock\Request\UnifiedRequest

latest() public méthode

public latest ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
Résultat InterNations\Component\HttpMock\Request\UnifiedRequest

pop() public méthode

public pop ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
Résultat InterNations\Component\HttpMock\Request\UnifiedRequest

shift() public méthode

public shift ( ) : InterNations\Component\HttpMock\Request\UnifiedRequest
Résultat InterNations\Component\HttpMock\Request\UnifiedRequest