Skip to content

Commit

Permalink
Alias Laminas\Translator\TranslatorInterface
Browse files Browse the repository at this point in the history
Closes #129

Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Jul 2, 2024
1 parent d6c05e1 commit fdf7079
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Laminas\ServiceManager\ConfigInterface;
use Laminas\ServiceManager\Factory\InvokableFactory;
use Laminas\Translator\TranslatorInterface;

/**
* @see ConfigInterface
Expand Down Expand Up @@ -50,6 +51,7 @@ public function getDependencyConfig()
'Zend\I18n\Translator\TranslatorInterface' => Translator\TranslatorInterface::class,
'Zend\I18n\Translator\LoaderPluginManager' => Translator\LoaderPluginManager::class,
Geography\CountryCodeListInterface::class => Geography\DefaultCountryCodeList::class,
TranslatorInterface::class => Translator\TranslatorInterface::class,
],
'factories' => [
Translator\TranslatorInterface::class => Translator\TranslatorServiceFactory::class,
Expand Down

0 comments on commit fdf7079

Please sign in to comment.