ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
UploadedFileInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Psr\Http\Message;
4 
14 {
31  public function getStream();
32 
65  public function moveTo($targetPath);
66 
76  public function getSize();
77 
92  public function getError();
93 
107  public function getClientFilename();
108 
122  public function getClientMediaType();
123 }
moveTo($targetPath)
Move the uploaded file to a new location.
getClientFilename()
Retrieve the filename sent by the client.
getSize()
Retrieve the file size.
getStream()
Retrieve a stream representing the uploaded file.
getClientMediaType()
Retrieve the media type sent by the client.
getError()
Retrieve the error associated with the uploaded file.
Value object representing a file uploaded through an HTTP request.