code: 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;
    }
docs: Récupère la dernière notification de la pile
  
  @return object