Property | Type | Description | |
---|---|---|---|
$fixturesPath | string |
Method | Description | |
---|---|---|
__construct ( string $fixturesPath ) | Creates a new instance of :php:class:MockAdapter. | |
request ( $method, $uri, array $parameters = [] ) | {@inheritDoc} |
Method | Description | |
---|---|---|
cleanPath ( $uri ) : string | Removes any unwanted suffixes and values from a URL path. | |
mapRequestParameters ( $parameters ) : string | Parses any filename properties from the request parameters. | |
mapRequestToFile ( string $method, string $uri, array $parameters ) : string | Parse the correct filename from the request. |
public __construct ( string $fixturesPath ) | ||
$fixturesPath | string |
protected mapRequestParameters ( $parameters ) : string | ||
$parameters | ||
return | string |