BundleTransformer
class BundleTransformer
Compiles a number of resource bundles based on predefined compilation rules.
Methods
|  addRule(TransformationRuleInterface $rule)  Adds a new compilation rule.  |  ||
|  compileBundles(CompilationContextInterface $context)  Runs the compilation with the given compilation context.  |  ||
| createStubs(StubbingContextInterface $context) | 
Details
addRule(TransformationRuleInterface $rule)
Adds a new compilation rule.
Parameters
| TransformationRuleInterface | $rule | The compilation rule. | 
compileBundles(CompilationContextInterface $context)
Runs the compilation with the given compilation context.
Parameters
| CompilationContextInterface | $context | The context storing information needed to run the compilation. | 
Exceptions
| RuntimeException | If any of the files to be compiled by the loaded compilation rules does not exist. | 
createStubs(StubbingContextInterface $context)
Parameters
| StubbingContextInterface | $context | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/3.1/Symfony/Component/Intl/ResourceBundle/Transformer/BundleTransformer.html