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.
doc_Symfony
2016-10-28 06:09:48
Comments
Leave a Comment

Please login to continue.