1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00
Files
archived-php-src/ext/curl/curl_file.stub.php
T
2021-04-20 14:45:42 +02:00

37 lines
846 B
PHP

<?php
/** @generate-class-entries */
class CURLFile
{
public string $name = "";
public string $mime = "";
public string $postname = "";
public function __construct(string $filename, ?string $mime_type = null, ?string $posted_filename = null) {}
/** @return string */
public function getFilename() {}
/** @return string */
public function getMimeType() {}
/** @return string */
public function getPostFilename() {}
/** @return void */
public function setMimeType(string $mime_type) {}
/** @return void */
public function setPostFilename(string $posted_filename) {}
}
class CURLStringFile
{
public string $data;
public string $postname;
public string $mime;
public function __construct(string $data, string $postname, string $mime = "application/octet-stream") {}
}