Example #1
0
 public function __construct(Nette\Application\Application $application, Tracy\ILogger $logger = NULL, Nette\Localization\ITranslator $translator = NULL)
 {
     parent::__construct();
     $this->application = $application;
     $this->logger = $logger;
     $this->translator = $translator;
 }
Example #2
0
 public function __construct(Repository $repository, Control\Factory $control)
 {
     parent::__construct();
     $this->repository = $repository;
     $this->control = $control;
 }
Example #3
0
 public function __construct(Nette\DI\Container $container)
 {
     parent::__construct();
     $this->container = $container;
     $this->document = new DOMDocument('1.0', 'UTF-8');
 }