This bundle allows you to load static content from files using Symfony's shorthand "@" syntax.
{# in '/some/path/to/template.html.twig' #}
{{ file('@AcmeDemoBundle/Resources/files/hello.txt') }}
Add KGPagerBundle in your composer.json
:
{
"require": {
"kgilden/static-bundle": "~1.0"
}
}
Simply run phpunit
in the root directory for the full test suite.
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENCE