class CompilationContext implements CompilationContextInterface

Default implementation of {@link CompilationContextInterface}.

Methods

__construct($sourceDir, $binaryDir, Filesystem $filesystem, BundleCompilerInterface $compiler, $icuVersion)

No description

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.

getFilesystem()

Returns a tool for manipulating the filesystem.

getCompiler()

Returns a resource bundle compiler.

string
getIcuVersion()

Returns the ICU version of the bundles being converted.

Details

at line line 49
__construct($sourceDir, $binaryDir, Filesystem $filesystem, BundleCompilerInterface $compiler, $icuVersion)

Parameters

$sourceDir
$binaryDir
Filesystem $filesystem
BundleCompilerInterface $compiler
$icuVersion

at line line 61
string getSourceDir()

Returns the directory where the source versions of the resource bundles are stored.

Return Value

string An absolute path to a directory.

at line line 69
string getBinaryDir()

Returns the directory where the binary resource bundles are stored.

Return Value

string An absolute path to a directory.

at line line 77
Filesystem getFilesystem()

Returns a tool for manipulating the filesystem.

Return Value

Filesystem The filesystem manipulator.

at line line 85
BundleCompilerInterface getCompiler()

Returns a resource bundle compiler.

Return Value

BundleCompilerInterface The loaded resource bundle compiler.

at line line 93
string getIcuVersion()

Returns the ICU version of the bundles being converted.

Return Value

string The ICU version string.