f5a0ac2945
* 2.7: (40 commits) [Debug] Fix ClassNotFoundFatalErrorHandler candidates lookups [2.6][Translator] Extend, refactor and simplify Translator tests. Update DebugClassLoader.php inject asset packages in assets helper service [travis] Do not exclude legacy tests on 2.7 [HttpFoundation] remove getExtension method [2.6][Translation] fix legacy tests. [Form] Removed remaining deprecation notices in the test suite [Form] Moved deprecation notice triggers to file level [Debug] Map PHP errors to LogLevel::CRITICAL [Routing][DependencyInjection] Support .yaml extension in YAML loaders [DX] improve file loader error for router/other resources in bundle [FrameworkBundle] Initialize translator with the default locale. [FrameworkBundle] Fix Routing\DelegatingLoader resiliency to fatal errors [2.7][Translation] remove duplicate code for loading catalogue. [2.6][Translation] remove duplicate code for loading catalogue. [HttpKernel] Cleanup ExceptionListener CS fixes [DependencyInjection] Show better error when the Yaml component is not installed [2.3] SCA for Components - reference mismatches ... |
||
---|---|---|
.. | ||
Asset | ||
Helper | ||
Loader | ||
Storage | ||
Tests | ||
.gitignore | ||
CHANGELOG.md | ||
composer.json | ||
DebuggerInterface.php | ||
DelegatingEngine.php | ||
EngineInterface.php | ||
LICENSE | ||
PhpEngine.php | ||
phpunit.xml.dist | ||
README.md | ||
StreamingEngineInterface.php | ||
TemplateNameParser.php | ||
TemplateNameParserInterface.php | ||
TemplateReference.php | ||
TemplateReferenceInterface.php |
Templating Component
Templating provides all the tools needed to build any kind of template system.
It provides an infrastructure to load template files and optionally monitor them for changes. It also provides a concrete template engine implementation using PHP with additional tools for escaping and separating templates into blocks and layouts.
Resources
You can run the unit tests with the following command:
$ cd path/to/Symfony/Component/Templating/
$ composer install
$ phpunit