code: public static function reset()
  	{
  		$session = System::getContainer()->get('session');
  
  		if (!$session->isStarted())
  		{
  			return;
  		}
  
  		$session->getFlashBag()->clear();
  	}
docs: Reset the message system