Skip to content
Permalink
Browse files

change name to LocalizedNumber

  • Loading branch information...
antograssiot committed Sep 1, 2014
1 parent 7e3338b commit c3f9f12478c13c63af2b2306212b193e07acc0b9
@@ -47,7 +47,7 @@
*
* If you don't want to take control of the exception handling, but want to change how exceptions are
* rendered you can use `exceptionRenderer` option to choose a class to render exception pages. By default
* `Cake\Error\ExceptionRenderer` is used. Your custom exception renderer class should be placed in app/Error.
* `Cake\Error\ExceptionRenderer` is used. Your custom exception renderer class should be placed in src/Error.
*
* Your custom renderer should expect an exception in its constructor, and implement a render method.
* Failing to do so will cause additional errors.
@@ -23,7 +23,7 @@
*
* @link http://book.cakephp.org/3.0/en/
*/
class LocaleNumber extends Number {
class LocalizedNumber extends Number {
/**
* Returns a formatted-for-humans file size.
@@ -35,13 +35,13 @@ class NumberHelper extends Helper {
* @var mixed
*/
protected $_defaultConfig = [
'engine' => 'Cake\I18n\LocaleNumber'
'engine' => 'Cake\I18n\LocalizedNumber'
];
/**
* Cake\I18n\LocaleNumber instance
* Cake\I18n\LocalizedNumber instance
*
* @var \Cake\I18n\LocaleNumber
* @var \Cake\I18n\LocalizedNumber
*/
protected $_engine = null;
@@ -17,15 +17,14 @@
namespace Cake\Test\TestCase\I18n;
use Cake\I18n\I18n;
use Cake\I18n\LocaleNumber;
use Cake\I18n\LocalizedNumber;
use Cake\TestSuite\TestCase;
/**
* NumberTest class
*
*/
class LocaleNumberTest extends TestCase {
class LocalizedNumberTest extends TestCase {
/**
* setUp method
@@ -34,7 +33,7 @@ class LocaleNumberTest extends TestCase {
*/
public function setUp() {
parent::setUp();
$this->Number = new LocaleNumber();
$this->Number = new LocalizedNumber();
$this->locale = I18n::defaultLocale();
}

0 comments on commit c3f9f12

Please sign in to comment.
You can’t perform that action at this time.