InterNations\Component\HttpMock\Tests\AppIntegrationTest::createExpectationParams PHP Method

createExpectationParams() private method

private createExpectationParams ( array $closures, Response $response )
$closures array
$response Symfony\Component\HttpFoundation\Response
    private function createExpectationParams(array $closures, Response $response)
    {
        foreach ($closures as $index => $closure) {
            $closures[$index] = new SerializableClosure($closure);
        }
        return ['matcher' => serialize($closures), 'response' => serialize($response)];
    }