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.
core/library/intl/tests/DummyRepository.php
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);
}
}