/**
  * @param ConfigurationContainer $configuration
  * @constructor
  */
 public function __construct(ConfigurationContainer $configuration)
 {
     $this->sessionName = $configuration->get('session');
     if (isset($_SESSION[$this->sessionName]['alerts'])) {
         $this->alerts = $_SESSION[$this->sessionName]['alerts'];
     }
 }
 /**
  * @param ConfigurationContainer $configuration
  */
 public function __construct(ConfigurationContainer $configuration)
 {
     $this->baseUrl = $configuration->get('home_url');
 }