You are here

private function UploadedFile::isOk in Lockr 7.3

Return true if there is no upload error

Return value

boolean

2 calls to UploadedFile::isOk()
UploadedFile::validateActive in vendor/guzzlehttp/psr7/src/UploadedFile.php
UploadedFile::__construct in vendor/guzzlehttp/psr7/src/UploadedFile.php

File

vendor/guzzlehttp/psr7/src/UploadedFile.php, line 194

Class

UploadedFile

Namespace

GuzzleHttp\Psr7

Code

private function isOk() {
  return $this->error === UPLOAD_ERR_OK;
}