src/Log/Notifier.php
public static function pull()
  {
    static::checkStorage();
    $notifs = unserialize($_COOKIE[self::COOKIE_NAME]);
    $firstnotif = array_shift($notifs);
    setcookie(self::COOKIE_NAME, serialize($notifs), time()+180, "/");
    return $firstnotif;
  }
public static function pull()
  {
    static::checkStorage();
    $notifs = unserialize($_COOKIE[self::COOKIE_NAME]);
    $firstnotif = array_shift($notifs);
    setcookie(self::COOKIE_NAME, serialize($notifs), time()+180, "/");
    return $firstnotif;
  }
Récupère la dernière notification de la pile

@return object