public function UploadedFile::getSize in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-diactoros/src/UploadedFile.php \Zend\Diactoros\UploadedFile::getSize()
- 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
- 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/UploadedFile.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\UploadedFile::getSize()
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.
Overrides UploadedFileInterface::getSize
File
- vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ UploadedFile.php, line 46
Class
- UploadedFile
- @author Kévin Dunglas <dunglas@gmail.com>
Namespace
Symfony\Bridge\PsrHttpMessage\Tests\FixturesCode
public function getSize() {
return $this->size;
}