public function sessionHasErrors($app)
    {
        $config = $app['config']['session'];

        if (isset($app['session.store']) && ! is_null($config['driver']))
        {
            return $app['session.store']->has('errors');
        }
    }
public function sessionHasErrors($app)
    {
        $config = $app['config']['session'];

        if (isset($app['session.store']) && ! is_null($config['driver']))
        {
            return $app['session.store']->has('errors');
        }
    }
public function sessionHasErrors ( $ app ) { $ config = $ app [ 'config' ] [ 'session' ] ; if ( isset ( $ app [ 'session.store' ] ) && ! is_null ( $ config [ 'driver' ] ) ) { return $ app [ 'session.store' ] -> has ( 'errors' ) ; } }
Determine if the application session has errors.

@param  \Illuminate\Foundation\Application  $app
@return bool
Determine if the application session has errors .