protected function registerTranslator()
    {
        $this->getContainer()
            ->share('translator', function () {
                $translator = new Translator('en');
                $translator->addLoader('php', new PhpFileLoader());
                return $translator;
            });
    }
protected function registerTranslator()
    {
        $this->getContainer()
            ->share('translator', function () {
                $translator = new Translator('en');
                $translator->addLoader('php', new PhpFileLoader());
                return $translator;
            });
    }
protected function registerTranslator ( ) { $ this -> getContainer ( ) -> share ( 'translator' , function ( ) { $ translator = new Translator ( 'en' ) ; $ translator -> addLoader ( 'php' , new PhpFileLoader ( ) ) ; return $ translator ; } ) ; }
Register the session manager instance.

@return void
Register the session manager instance .