/** * Sets that the file fas successfully uploaded. * * @param \Jyxo\Input\Upload $in Uploaded file * @return \Jyxo\Input\Upload */ public function filter($in) { if (!$this->error && !$this->failedEmpty) { $in->confirmUpload(); } return $in; }