Larabros\Elogram\Http\Clients\MockAdapter::mapRequestToFile PHP Method

mapRequestToFile() protected method

Parse the correct filename from the request.
protected mapRequestToFile ( string $method, string $uri, array $parameters ) : string
$method string
$uri string
$parameters array
return string
    protected function mapRequestToFile($method, $uri, $parameters)
    {
        $filename = strtolower($method) . '_';
        $filename .= $this->cleanPath($uri);
        $suffix = $this->mapRequestParameters($parameters);
        return $this->fixturesPath . $filename . $suffix . '.json';
    }