[Locale] Added stubs for \Collator and \IntlDateFormatter

This commit is contained in:
Bernhard Schussek 2011-02-23 14:46:27 +01:00
parent 33e70673c2
commit 4af27bd590
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Stub implementation for the Collator class of the intl extension
*
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
* @see Symfony\Component\Collator\Stub\StubCollator
*/
class Collator extends \Symfony\Component\Locale\Stub\StubCollator {}

View File

@ -0,0 +1,18 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Stub implementation for the IntlDateFormatter class of the intl extension
*
* @author Bernhard Schussek <bernhard.schussek@symfony-project.com>
* @see Symfony\Component\IntlDateFormatter\Stub\StubIntlDateFormatter
*/
class IntlDateFormatter extends \Symfony\Component\Locale\Stub\StubIntlDateFormatter {}