php-taxonomy / multitaxonomy-dbal-util-pagerfanta-twig-templates
This package is abandoned and no longer maintained.
The author suggests using the php-taxonomy/multitaxonomy-doctrine-dbal-util-pagerfanta-twig-templates package instead.
Multitaxonomy for DBAL-Util persistence (Twig templates for pagerfanta objects)
dev-master / 0.1.x-dev
2018-03-15 21:35 UTC
Requires
- symfony/twig-bundle: ^2.7 || ^3.0 || ^4.0
- white-october/pagerfanta-bundle: ^1.0
This package is not auto-updated.
Last update: 2022-02-01 13:08:50 UTC
README
Multitaxonomy for DBAL-Util persistence (Twig templates for pagerfanta objects)
Obsolete!
Done: renamed to php-taxonomy/multitaxonomy-pagerfanta-twig-templates
DBAL-util is not used directly in templates!
These templates are used like a library.
$c->loadFromExtension('twig', [ 'paths' => [ '%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-templates' => 'MultiTaxonomyDbalUtilBundle', // templates is the new directory name in Symfony 4 // '%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-dbal-util-bundle/Resources/views' => 'MultiTaxonomyDbalUtilBundle', ], ]);
- https://symfony.com/doc/current/templating/namespaced_paths.html
- https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory
- http://fabien.potencier.org/symfony4-directory-structure.html
Check syntax (with symfony ~framework-bundle)
$ bin/console lint:twig vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-templates/