1 | <?php |
||
27 | class FileParameter { |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $path; |
||
33 | |||
34 | /** |
||
35 | * @var string|null |
||
36 | */ |
||
37 | protected $mimeType; |
||
38 | |||
39 | /** |
||
40 | * @var string|null |
||
41 | */ |
||
42 | protected $name; |
||
43 | |||
44 | /** |
||
45 | * @param string $path |
||
46 | */ |
||
47 | public function __construct($path) { |
||
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | public function getPath() { |
||
57 | |||
58 | /** |
||
59 | * @return null|string |
||
60 | */ |
||
61 | public function getMimeType() { |
||
64 | |||
65 | /** |
||
66 | * @param null|string $mime_type |
||
67 | * @return $this |
||
68 | */ |
||
69 | public function setMimeType($mime_type) { |
||
73 | |||
74 | /** |
||
75 | * @return null|string |
||
76 | */ |
||
77 | public function getName() { |
||
80 | |||
81 | /** |
||
82 | * @param null|string $name |
||
83 | * @return $this |
||
84 | */ |
||
85 | public function setName($name) { |
||
89 | } |
||
90 |