CompilationContext
class CompilationContext implements CompilationContextInterface
Default implementation of {@link CompilationContextInterface}.
Methods
| __construct($sourceDir, $binaryDir, Filesystem $filesystem, BundleCompilerInterface $compiler, $icuVersion) | ||
| string |  getSourceDir()  Returns the directory where the source versions of the resource bundles are stored.  |  |
| string |  getBinaryDir()  Returns the directory where the binary resource bundles are stored.  |  |
| Filesystem |  getFilesystem()  Returns a tool for manipulating the filesystem.  |  |
| BundleCompilerInterface |  getCompiler()  Returns a resource bundle compiler.  |  |
| string |  getIcuVersion()  Returns the ICU version of the bundles being converted.  |  
Details
__construct($sourceDir, $binaryDir, Filesystem $filesystem, BundleCompilerInterface $compiler, $icuVersion)
Parameters
| $sourceDir | ||
| $binaryDir | ||
| Filesystem | $filesystem | |
| BundleCompilerInterface | $compiler | |
| $icuVersion | 
string getSourceDir()
Returns the directory where the source versions of the resource bundles are stored.
Return Value
| string | An absolute path to a directory. | 
string getBinaryDir()
Returns the directory where the binary resource bundles are stored.
Return Value
| string | An absolute path to a directory. | 
Filesystem getFilesystem()
Returns a tool for manipulating the filesystem.
Return Value
| Filesystem | The filesystem manipulator. | 
BundleCompilerInterface getCompiler()
Returns a resource bundle compiler.
Return Value
| BundleCompilerInterface | The loaded resource bundle compiler. | 
string getIcuVersion()
Returns the ICU version of the bundles being converted.
Return Value
| string | The ICU version string. | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/3.1/Symfony/Component/Intl/ResourceBundle/Transformer/CompilationContext.html