BearFramework\App\Request\FormDataFileItem

BearFramework\App\Request\FormDataFileItem extends BearFramework\App\Request\FormDataItem {

    
/* Properties */
    
public string $filename
    
public int|null $size
    
public string|null $type

    
/* Methods */
    
public __construct void )

}
Properties
public string $filename
The temporary filename where the uploaded file was stored.
public int|null $size
The size, in bytes, of the uploaded file.
public string|null $type
The mime type of the file, if the browser provided this information.
Methods
public __construct ( void )
public array toArray ( void )
Returns the object data converted as an array.
public string toJSON ( void )
Returns the object data converted as JSON.
Details
Location: ~/src/App/Request/FormDataFileItem.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.