public function bootErrorAction(array $errors = null)
    {
        $session = $this->getContainer()->get('session');
        $original_errors = $session->has('boot_errors') ? $session->get('boot_errors') : $errors;
        $running_user = $this->getKernel()->whoAmI();

        return array(self::$views_dir.'errors', array(
            'title'=>$this->trans('System errors'),
            'original_errors'=>$original_errors,
            'running_user' => $running_user,
            'errors'=>$errors
        ));
    }
public function bootErrorAction(array $errors = null)
    {
        $session = $this->getContainer()->get('session');
        $original_errors = $session->has('boot_errors') ? $session->get('boot_errors') : $errors;
        $running_user = $this->getKernel()->whoAmI();

        return array(self::$views_dir.'errors', array(
            'title'=>$this->trans('System errors'),
            'original_errors'=>$original_errors,
            'running_user' => $running_user,
            'errors'=>$errors
        ));
    }
public function bootErrorAction ( array $ errors = null ) { $ session = $ this -> getContainer ( ) -> get ( 'session' ) ; $ original_errors = $ session -> has ( 'boot_errors' ) ? $ session -> get ( 'boot_errors' ) : $ errors ; $ running_user = $ this -> getKernel ( ) -> whoAmI ( ) ; return array ( self :: $ views_dir . 'errors' , array ( 'title' => $ this -> trans ( 'System errors' ) , 'original_errors' => $ original_errors , 'running_user' => $ running_user , 'errors' => $ errors ) ) ; }
Page of system errors

@param   null|array  $errors
@return  array
Page of system errors