protected function validateType () : bool
	{
		// Checks if video type is allowed
		if ($this->validateMimeType() == FALSE) return FALSE;
		// Checks if video size is valid for upload
		if ($this->validateFileSize() == FALSE) return FALSE;
		// Finally uplods the file after successful evaluation
		if ($this->uploadFile() == FALSE) return FALSE;

		return TRUE;
	}
protected function validateType () : bool
	{
		// Checks if video type is allowed
		if ($this->validateMimeType() == FALSE) return FALSE;
		// Checks if video size is valid for upload
		if ($this->validateFileSize() == FALSE) return FALSE;
		// Finally uplods the file after successful evaluation
		if ($this->uploadFile() == FALSE) return FALSE;

		return TRUE;
	}
protected function validateType ( ) : bool { // Checks if video type is allowed if ( $ this -> validateMimeType ( ) == FALSE ) return FALSE ; // Checks if video size is valid for upload if ( $ this -> validateFileSize ( ) == FALSE ) return FALSE ; // Finally uplods the file after successful evaluation if ( $ this -> uploadFile ( ) == FALSE ) return FALSE ; return TRUE ; }
Validates file by it's type.
@return bool
Validates file by it s type .