/** * Write the response to a file * * @param string $path Path to file * @param string $filter Stream filter as listed in stream_get_filters() * @return self * @static */ public static function toFile($path, $filter = null) { return \October\Rain\Network\Http::toFile($path, $filter); }