interface TransformationRuleInterface
Contains instruction for compiling a resource bundle.
string | getBundleName() Returns the name of the compiled resource bundle. | |
string[] | beforeCompile(CompilationContextInterface $context) Runs instructions to be executed before compiling the sources of the resource bundle. | |
afterCompile(CompilationContextInterface $context) Runs instructions to be executed after compiling the sources of the resource bundle. | ||
mixed | beforeCreateStub(StubbingContextInterface $context) Runs instructions to be executed before creating the stub version of the resource bundle. | |
afterCreateStub(StubbingContextInterface $context) Runs instructions to be executed after creating the stub version of the resource bundle. |
Returns the name of the compiled resource bundle.
string | The name of the bundle. |
Runs instructions to be executed before compiling the sources of the resource bundle.
CompilationContextInterface | $context | The contextual information of the compilation. |
string[] | The source directories/files of the bundle. |
Runs instructions to be executed after compiling the sources of the resource bundle.
CompilationContextInterface | $context | The contextual information of the compilation. |
Runs instructions to be executed before creating the stub version of the resource bundle.
StubbingContextInterface | $context | The contextual information of the compilation. |
mixed | The data to include in the stub version. |
Runs instructions to be executed after creating the stub version of the resource bundle.
StubbingContextInterface | $context | The contextual information of the compilation. |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Intl/ResourceBundle/Transformer/Rule/TransformationRuleInterface.html