public function __construct(Container $container) { parent::__construct($container); $this->application = $this->container->getObject('App.Application'); $this->viewLoader = $this->container->getObject('App.ViewLoader'); $this->document = $this->container->getObject('App.Utility.Document'); $this->session = $this->container->getObject('App.Utility.Session'); $this->request = $this->container->getObject('App.Request'); }
public function __construct(Container $container) { parent::__construct($container); $this->viewLoader = $this->container->getObject('ExampleModule.ViewLoader'); }