Scalr\Tests\Service\Aws\CloudFrontTest::getResponseCallback PHP Метод

getResponseCallback() публичный Метод

Gets response callback
public getResponseCallback ( string $method ) : Closure
$method string CloudFront API method
Результат Closure
    public function getResponseCallback($method)
    {
        $responseMock = $this->getQueryClientResponseMock($this->getFixtureFileContent($method . '.xml'));
        return function () use($responseMock) {
            return $responseMock;
        };
    }