Skip to content

Commit

Permalink
Use Cake\I18n\TranslatorFactory instead of Aura\Intl\TranslatorFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jan 15, 2017
1 parent 323401c commit 535f073
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/I18n/TranslatorRegistry.php
Expand Up @@ -17,9 +17,9 @@
use Aura\Intl\Exception;
use Aura\Intl\FormatterLocator;
use Aura\Intl\PackageLocator;
use Aura\Intl\TranslatorFactory;
use Aura\Intl\TranslatorLocator;
use Cake\Cache\CacheEngine;
use Cake\I18n\TranslatorFactory;

/**
* Constructs and stores instances of translators that can be
Expand Down Expand Up @@ -69,18 +69,13 @@ class TranslatorRegistry extends TranslatorLocator
protected $_cacher;

/**
*
* Constructor.
*
* @param \Aura\Intl\PackageLocator $packages The package locator.
*
* @param \Aura\Intl\FormatterLocator $formatters The formatter locator.
*
* @param \Aura\Intl\TranslatorFactory $factory A translator factory to
* create translator objects for the locale and package.
*
* @param \Cake\I18n\TranslatorFactory $factory A translator factory to
* create translator objects for the locale and package.
* @param string $locale The default locale code to use.
*
*/
public function __construct(
PackageLocator $packages,
Expand Down

0 comments on commit 535f073

Please sign in to comment.