public static function flash(string $name, $result) : void
    {
        $results = static::$_session->get("_RESULTS");

        $results[$name] = [
            "type"   => "flash",
            "result" => $result
        ];

        static::$_session->set("_RESULTS", $results);
    }
public static function flash(string $name, $result) : void
    {
        $results = static::$_session->get("_RESULTS");

        $results[$name] = [
            "type"   => "flash",
            "result" => $result
        ];

        static::$_session->set("_RESULTS", $results);
    }
public static function flash ( string $ name , $ result ) : void { $ results = static :: $ _session -> get ( "_RESULTS" ) ; $ results [ $ name ] = [ "type" => "flash" , "result" => $ result ] ; static :: $ _session -> set ( "_RESULTS" , $ results ) ; }
Adds a flash result.

@param string $name   Result name.
@param mixed  $result Result to add.
Adds a flash result .