public static function set($filename, $data)
    {
        $data = ["_disk_cache" => $data];
        $filename = static::path($filename);
        Json::encodeToFile($filename, $data);
    }
public static function set($filename, $data)
    {
        $data = ["_disk_cache" => $data];
        $filename = static::path($filename);
        Json::encodeToFile($filename, $data);
    }
public static function set ( $ filename , $ data ) { $ data = [ "_disk_cache" => $ data ] ; $ filename = static :: path ( $ filename ) ; Json :: encodeToFile ( $ filename , $ data ) ; }
Set the specified key to the specified value.

@param string $filename The key of the cached data
@param string $data The value to storage against the key, this data must be JSON serializable

@return void
Set the specified key to the specified value .