You are here

public function UploadedFile::getSize in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/zendframework/zend-diactoros/src/UploadedFile.php \Zend\Diactoros\UploadedFile::getSize()
  2. 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/UploadedFile.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\UploadedFile::getSize()
Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-diactoros/src/UploadedFile.php \Zend\Diactoros\UploadedFile::getSize()

Return value

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

Overrides UploadedFileInterface::getSize

File

vendor/zendframework/zend-diactoros/src/UploadedFile.php, line 179

Class

UploadedFile

Namespace

Zend\Diactoros

Code

public function getSize() {
  return $this->size;
}