You are here

public function UploadedFileInterface::getSize in Lockr 7.3

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.

Return value

int|null The file size in bytes or null if unknown.

1 method overrides UploadedFileInterface::getSize()
UploadedFile::getSize in vendor/guzzlehttp/psr7/src/UploadedFile.php

File

vendor/psr/http-message/src/UploadedFileInterface.php, line 76

Class

UploadedFileInterface
Value object representing a file uploaded through an HTTP request.

Namespace

Psr\Http\Message

Code

public function getSize();