protected function validateFileSize (int $allowedSize=0) : bool
	{
		$allowedSize = (!empty($allowedSize) AND $allowedSize >= 1) ? $allowedSize : $this->allowedFIleSize;
		if ($this->fileSize < $allowedSize) return TRUE;
		$this->error = "File is too large try another one.";
		return FALSE;			
	}
protected function validateFileSize (int $allowedSize=0) : bool
	{
		$allowedSize = (!empty($allowedSize) AND $allowedSize >= 1) ? $allowedSize : $this->allowedFIleSize;
		if ($this->fileSize < $allowedSize) return TRUE;
		$this->error = "File is too large try another one.";
		return FALSE;			
	}
protected function validateFileSize ( int $ allowedSize = 0 ) : bool { $ allowedSize = ( ! empty ( $ allowedSize ) AND $ allowedSize >= 1 ) ? $ allowedSize : $ this -> allowedFIleSize ; if ( $ this -> fileSize < $ allowedSize ) return TRUE ; $ this -> error = "File is too large try another one." ; return FALSE ; }
Validates file size.
@param int $allowedSize
@return bool
Validates file size .