You are here

public function UploadedFile::getError in Zircon Profile 8

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

Return value

int One of PHP's UPLOAD_ERR_XXX constants.

Overrides UploadedFileInterface::getError

See also

http://php.net/manual/en/features.file-upload.errors.php

File

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

Class

UploadedFile

Namespace

Zend\Diactoros

Code

public function getError() {
  return $this->error;
}