When I add a css class for flashSession, it shows an error.
$di->set('flashSession', function(){
return new Phalcon\Flash\Direct(array(
'error' => 'alert alert-dismissable alert-danger',
'success' => 'alert alert-dismissable alert-success',
'notice' => 'alert alert-dismissable alert-info',
));
});
Call to undefined method Phalcon\Flash\Direct::output()