Files
wallabag/vendor/symfony/icu/Symfony/Component/Icu/IcuLanguageBundle.php
Nicolas Lœuillet 4f5b44bd3b twig implementation
2013-08-03 19:26:54 +02:00

29 lines
802 B
PHP

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Icu;
use Symfony\Component\Intl\ResourceBundle\LanguageBundle;
use Symfony\Component\Intl\ResourceBundle\Reader\StructuredBundleReaderInterface;
/**
* A stub implementation of {@link \Symfony\Component\Intl\ResourceBundle\LanguageBundleInterface}.
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class IcuLanguageBundle extends LanguageBundle
{
public function __construct(StructuredBundleReaderInterface $reader)
{
parent::__construct(realpath(IcuData::getResourceDirectory() . '/lang'), $reader);
}
}