ozo2003 /
HelperBundle
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Sludio\HelperBundle\Translatable\Router; |
||
| 4 | |||
| 5 | use JMS\I18nRoutingBundle\Router\LocaleResolverInterface; |
||
| 6 | use Symfony\Component\HttpFoundation\Request; |
||
| 7 | |||
| 8 | class DefaultLocaleResolver implements LocaleResolverInterface |
||
| 9 | { |
||
| 10 | use LocaleResolverTrait; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 11 | |||
| 12 | public function __construct($cookieName, array $hostMap = []) |
||
| 13 | { |
||
| 14 | $this->cookieName = $cookieName; |
||
| 15 | $this->hostMap = $hostMap; |
||
| 16 | } |
||
| 17 | } |
||
| 18 |