mini\Http\Message\UploadedFile::getSize() Method

public

Signature

public function getSize(): ?int

Returns

?int

Documentation

Retrieve the file size.

Implementations SHOULD return the value stored in the "size" key of the file in the $_FILES array if available, as PHP calculates this based on the actual size transmitted.

Source

src/Http/Message/UploadedFileTrait.php:153-167