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
;
14 use Symfony\Component\Filesystem\Filesystem
;
15 use Symfony\Component\Intl\ResourceBundle\Compiler\BundleCompilerInterface
;
18 * Default implementation of {@link CompilationContextInterface}.
20 * @author Bernhard Schussek <bschussek@gmail.com>
22 class CompilationContext
implements CompilationContextInterface
40 * @var BundleCompilerInterface
49 public function __construct($sourceDir, $binaryDir, Filesystem
$filesystem, BundleCompilerInterface
$compiler, $icuVersion)
51 $this->sourceDir
= $sourceDir;
52 $this->binaryDir
= $binaryDir;
53 $this->filesystem
= $filesystem;
54 $this->compiler
= $compiler;
55 $this->icuVersion
= $icuVersion;
61 public function getSourceDir()
63 return $this->sourceDir
;
69 public function getBinaryDir()
71 return $this->binaryDir
;
77 public function getFilesystem()
79 return $this->filesystem
;
85 public function getCompiler()
87 return $this->compiler
;
93 public function getIcuVersion()
95 return $this->icuVersion
;