This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
core/library/intl/tests/DummyRepository.php
Stefan Parviainen 7bf7f8180d Revert "Revert "Language names via intl library.""
This reverts commit 4f35efa0ba.
2014-12-31 10:42:08 +01:00

24 lines
463 B
PHP

<?php
namespace CommerceGuys\Intl\Tests;
use CommerceGuys\Intl\LocaleResolverTrait;
/**
* Dummy repository used for testing the LocaleResolverTrait.
*/
class DummyRepository
{
use LocaleResolverTrait;
public function __construct()
{
$this->definitionPath = 'vfs://resources/dummy/';
}
public function runResolveLocale($locale, $fallbackLocale = null)
{
return $this->resolveLocale($locale, $fallbackLocale);
}
}