This integrates Twig support by moving the necessary classes from the Symfony bundle into the base package. It will be an optional dependency, Twig won't be arbitrarily required or installed when using this package.
TODO
[x] Add docs covering the Twig integration
Setting up the extension and runtime loader
Adding the template path to the filesystem loader
Explaining the purpose behind the RouteGeneratorDecorator (can't directly call a callable in Twig so this class gives a class with a named method that can be used)
Closes #5
This integrates Twig support by moving the necessary classes from the Symfony bundle into the base package. It will be an optional dependency, Twig won't be arbitrarily required or installed when using this package.
TODO
RouteGeneratorDecorator
(can't directly call a callable in Twig so this class gives a class with a named method that can be used)