original_string: public static function set(string $key, $value) : void
      {
          $_SESSION[Notification::SESSION_KEY][$key] = $value;
      }
code: public static function set(string $key, $value) : void
      {
          $_SESSION[Notification::SESSION_KEY][$key] = $value;
      }
code_tokens: public static function set ( string $ key , $ value ) : void { $ _SESSION [ Notification :: SESSION_KEY ] [ $ key ] = $ value ; }
docstring: Adds specific variable to the Notifications array.
  
  Notification::set('success', 'Data has been saved with success!');
  Notification::set('errors', 'Data not saved!');
  
  @param string $key   Variable name
  @param mixed  $value Variable value
docstring_tokens: Adds specific variable to the Notifications array .