Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.29 KB

File metadata and controls

43 lines (34 loc) · 1.29 KB

Response Filter Bundle

Latest Stable Version Total Downloads License

This bundle provides a way to filter the response of async web services core bundle.

Add the bundle to your Kernel

// config/bundles.php
return [
    // ...
    Hengebytes\ResponseFilterBundle\HBResponseFilterBundle::class => ['all' => true],
];

Generate migration

php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate

Routes

# config/routes/hb_response_filter.yaml
hb_response_filter:
    resource: '@HBResponseFilterBundle/Resources/config/routes.yaml'
    prefix: /admin

Assets

php bin/console assets:install --symlink

Override templates

php bin/console make:twig:template templates/bundles/HBResponseFilterBundle

or manually create the file templates/bundles/HBResponseFilterBundle/layout.html.twig