merged branch bschussek/cleanup-intl (PR #7733)
This PR was merged into the master branch.
Discussion
----------
[Intl] Removed obsolete classes
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | not necessary
Commits
-------
9551932
[Intl] Removed obsolete classes
This commit is contained in:
commit
92f9706311
@ -1,26 +0,0 @@
|
|||||||
<?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\Intl\ResourceBundle\Stub;
|
|
||||||
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\CurrencyBundle;
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\Reader\StructuredBundleReaderInterface;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
|
||||||
*/
|
|
||||||
class StubCurrencyBundle extends CurrencyBundle
|
|
||||||
{
|
|
||||||
public function __construct(StructuredBundleReaderInterface $reader)
|
|
||||||
{
|
|
||||||
parent::__construct(realpath(__DIR__ . '/../../Resources/data/curr'), $reader);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
<?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\Intl\ResourceBundle\Stub;
|
|
||||||
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\LanguageBundle;
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\Reader\StructuredBundleReaderInterface;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
|
||||||
*/
|
|
||||||
class StubLanguageBundle extends LanguageBundle
|
|
||||||
{
|
|
||||||
public function __construct(StructuredBundleReaderInterface $reader)
|
|
||||||
{
|
|
||||||
parent::__construct(realpath(__DIR__ . '/../../Resources/data/lang'), $reader);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
<?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\Intl\ResourceBundle\Stub;
|
|
||||||
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\LocaleBundle;
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\Reader\StructuredBundleReaderInterface;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
|
||||||
*/
|
|
||||||
class StubLocaleBundle extends LocaleBundle
|
|
||||||
{
|
|
||||||
public function __construct(StructuredBundleReaderInterface $reader)
|
|
||||||
{
|
|
||||||
parent::__construct(realpath(__DIR__ . '/../../Resources/data/locales'), $reader);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
<?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\Intl\ResourceBundle\Stub;
|
|
||||||
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\Reader\StructuredBundleReaderInterface;
|
|
||||||
use Symfony\Component\Intl\ResourceBundle\RegionBundle;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
|
||||||
*/
|
|
||||||
class StubRegionBundle extends RegionBundle
|
|
||||||
{
|
|
||||||
public function __construct(StructuredBundleReaderInterface $reader)
|
|
||||||
{
|
|
||||||
parent::__construct(realpath(__DIR__ . '/../../Resources/data/region'), $reader);
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user