ApiPlatform\Core\Tests\Bridge\Symfony\Action\SwaggerUiActionTest::getDoNotRunCurrentRequestParameters PHP Method

getDoNotRunCurrentRequestParameters() public method

    public function getDoNotRunCurrentRequestParameters()
    {
        $nonSafeRequest = new Request([], [], ['_api_resource_class' => 'Foo', '_api_collection_operation_name' => 'post']);
        $nonSafeRequest->setMethod('POST');
        return [[$nonSafeRequest], [new Request()]];
    }