aboutsummaryrefslogblamecommitdiffstats
path: root/library/intl/tests/DummyRepository.php
blob: 0d9ca760b128d8e4699290b532143741d3b3c730 (plain) (tree)






















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