/** * Inject dependencies for the language file * * @param Container $container The Container */ public function setContainer(Container $container) { parent::setContainer($container); // database is set on the business layer. this will allow the use of // the mvc without coupling automatically the database. $this->Database = $container['Database']; $this->Access = $container['Access']; $this->Request = $container['Request']; $this->languages = $container['Language']; $this->AuthManager = $container['AuthManager']; $this->Session = $container['Session']; }