_file = $fileAttributes; if (!file_exists($this->_file['tmp_name'])) { $code = empty($this->_file['tmp_name']) ? self::TMP_NAME_EMPTY : 0; throw new \Exception('File was not processed correctly.', $code); } else { $this->_fileExists = true; } } }