public function __construct($appDir, Nette\DI\Container $container, Nette\Localization\ITranslator $translator, Nette\Http\Response $httpResponse, Nette\Http\Request $httpRequest, Nette\Caching\IStorage $netteCacheStorage) { $this->container = $container; $this->latteFactory = $container->createServiceNette__latteFactory(); $this->translator = $translator; $this->appDir = $appDir; $this->httpResponse = $httpResponse; $this->httpRequest = $httpRequest; $this->netteCacheStorage = $netteCacheStorage; }