class GenrbCompiler implements BundleCompilerInterface
Compiles .txt resource bundles to binary .res files.
__construct(string $genrb = 'genrb', string $envVars = '') Creates a new compiler based on the "genrb" executable. | ||
compile(string $sourcePath, string $targetDir) Compiles a resource bundle at the given source to the given target directory. |
Creates a new compiler based on the "genrb" executable.
string | $genrb | Optional. The path to the "genrb" executable |
string | $envVars | Optional. Environment variables to be loaded when running "genrb". |
RuntimeException | if the "genrb" cannot be found |
Compiles a resource bundle at the given source to the given target directory.
string | $sourcePath | |
string | $targetDir |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Intl/Data/Bundle/Compiler/GenrbCompiler.html