1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00
hubzilla_ynh/sources/library/intl/tests/DummyRepository.php
2015-08-23 16:38:18 -04:00

23 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);
}
}