/** * The validation of file * * @param instanceof Attw\File\File $file * @return boolean */ protected function realValidation(FileInterface $file) { if ($this->comparison == 0) { return $this->size >= $file->getSize(); } return $this->size <= $file->getSize(); }