]>
Commit | Line | Data |
---|---|---|
4f5b44bd NL |
1 | <?php |
2 | ||
3 | /* | |
4 | * This file is part of the Symfony package. | |
5 | * | |
6 | * (c) Fabien Potencier <fabien@symfony.com> | |
7 | * | |
8 | * For the full copyright and license information, please view the LICENSE | |
9 | * file that was distributed with this source code. | |
10 | */ | |
11 | ||
12 | namespace Symfony\Component\Icu; | |
13 | ||
14 | use Symfony\Component\Intl\ResourceBundle\Reader\StructuredBundleReaderInterface; | |
15 | use Symfony\Component\Intl\ResourceBundle\RegionBundle; | |
16 | ||
17 | /** | |
18 | * A stub implementation of {@link \Symfony\Component\Intl\ResourceBundle\RegionBundleInterface}. | |
19 | * | |
20 | * @author Bernhard Schussek <bschussek@gmail.com> | |
21 | */ | |
22 | class IcuRegionBundle extends RegionBundle | |
23 | { | |
24 | public function __construct(StructuredBundleReaderInterface $reader) | |
25 | { | |
26 | parent::__construct(realpath(IcuData::getResourceDirectory() . '/region'), $reader); | |
27 | } | |
28 | } |