1<?php 2 3/** @generate-class-entries */ 4 5/** @not-serializable */ 6class CURLFile 7{ 8 public string $name = ""; 9 public string $mime = ""; 10 public string $postname = ""; 11 12 public function __construct(string $filename, ?string $mime_type = null, ?string $posted_filename = null) {} 13 14 /** @tentative-return-type */ 15 public function getFilename(): string {} 16 17 /** @tentative-return-type */ 18 public function getMimeType(): string {} 19 20 /** @tentative-return-type */ 21 public function getPostFilename(): string {} 22 23 /** @tentative-return-type */ 24 public function setMimeType(string $mime_type): void {} 25 26 /** @tentative-return-type */ 27 public function setPostFilename(string $posted_filename): void {} 28} 29 30class CURLStringFile 31{ 32 public string $data; 33 public string $postname; 34 public string $mime; 35 36 public function __construct(string $data, string $postname, string $mime = "application/octet-stream") {} 37} 38