summaryrefslogtreecommitdiff
path: root/ext/curl/curl_file.stub.php
blob: 7b0c83aa2f9aae6fb2e17a838cc53243bec180b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php

/**
 * @generate-function-entries
 * @generate-class-entries
 */

class CURLFile
{
    /** @var string */
    public $name = "";
    /** @var string */
    public $mime = "";
    /** @var string */
    public $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) {}
}