All Downloads are FREE. Search and download functionalities are using the official Maven repository.

php-silex.index.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
{{httpMethod}}('{{{basePathWithoutHost}}}{{{path}}}', function(Application $app, Request $request{{#pathParams}}, ${{baseName}}{{/pathParams}}) {
            {{#queryParams}}
            ${{paramName}} = $request->get('{{paramName}}');
            {{/queryParams}}
            {{#formParams}}
            ${{paramName}} = $request->get('{{paramName}}');
            {{/formParams}}
            return new Response('How about implementing {{operationId}} as a {{httpMethod}} method ?');
            });

{{/operation}}
{{/operations}}
{{/apis}}
{{/apiInfo}}

$app->run();




© 2015 - 2024 Weber Informatics LLC | Privacy Policy