4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Intl\ResourceBundle\Transformer
;
15 * Stores contextual information for resource bundle compilation.
17 * @author Bernhard Schussek <bschussek@gmail.com>
19 interface CompilationContextInterface
22 * Returns the directory where the source versions of the resource bundles
25 * @return string An absolute path to a directory.
27 public function getSourceDir();
30 * Returns the directory where the binary resource bundles are stored.
32 * @return string An absolute path to a directory.
34 public function getBinaryDir();
37 * Returns a tool for manipulating the filesystem.
39 * @return \Symfony\Component\Filesystem\Filesystem The filesystem manipulator.
41 public function getFilesystem();
44 * Returns a resource bundle compiler.
46 * @return \Symfony\Component\Intl\ResourceBundle\Compiler\BundleCompilerInterface The loaded resource bundle compiler.
48 public function getCompiler();
51 * Returns the ICU version of the bundles being converted.
53 * @return string The ICU version string.
55 public function getIcuVersion();