public static function set(string $key, $value)
    {
        file_put_contents(self::determineDabaseFilePathFor($key), Json::encode($value));

        return $value;
    }
public static function set(string $key, $value)
    {
        file_put_contents(self::determineDabaseFilePathFor($key), Json::encode($value));

        return $value;
    }
public static function set ( string $ key , $ value ) { file_put_contents ( self :: determineDabaseFilePathFor ( $ key ) , Json :: encode ( $ value ) ) ; return $ value ; }
Sets a value for the given key.

@param string $key
@param mixed $value Anything that can be serialized using `json_encode()`
@return mixed The value that was set
Sets a value for the given key .