Aimeos\ShopBundle\Service\Locale::__construct PHP Method

__construct() public method

Initializes the locale factory object
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack, Symfony\Component\DependencyInjection\Container $container )
$requestStack Symfony\Component\HttpFoundation\RequestStack Current request stack
$container Symfony\Component\DependencyInjection\Container Container object to access parameters
    public function __construct(RequestStack $requestStack, Container $container)
    {
        $this->requestStack = $requestStack;
        $this->container = $container;
    }