mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
23 lines
463 B
PHP
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);
|
|
}
|
|
}
|