Esempio n. 1
0
 protected function logic()
 {
     $authenticationUtils = $this->container->get('security.authentication_utils');
     $error = $authenticationUtils->getLastAuthenticationError();
     $lastUsername = $authenticationUtils->getLastUsername();
     parent::setViewData('lastUsername', $lastUsername);
     if (!is_null($error)) {
         parent::appendErrorMessage($error->getMessage());
     }
 }
Esempio n. 2
0
 protected function logic()
 {
     // 実行中のコマンドの一覧を取得
     $execCommands = $this->container->get('lib.command.manager')->getExecutingCommands();
     parent::setViewData('execCommands', $execCommands);
     // エラーログの最終行を取得
     $logName = sprintf('%s_error.log', $this->container->getParameter('kernel.environment'));
     $log = $this->container->get('lib.logger_reader')->read($logName);
     parent::setViewData('log', $log);
 }
Esempio n. 3
0
 protected function logic()
 {
     parent::setViewData('cvTitle', '');
 }