CompilationContextInterface

interface CompilationContextInterface

Stores contextual information for resource bundle compilation.

Methods

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

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:49
Comments
Leave a Comment

Please login to continue.