# tier-pricing-table/2.2.2/src/BackgroundProcessing/Updater/Updates/VersionAbstract.php

Tiered Pricing Table for WooCommerce, version 2.2.2. 16 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/2.2.2/code/src/BackgroundProcessing/Updater/Updates/VersionAbstract.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/2.2.2/raw/src/BackgroundProcessing/Updater/Updates/VersionAbstract.php
- Modified: 2019-03-24T15:48:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tier-pricing-table/2.2.2/code/src/BackgroundProcessing/Updater/Updates/VersionAbstract.php#L10-L20`.

```php
<?php namespace TierPricingTable\BackgroundProcessing\Updater\Updates;

use TierPricingTable\BackgroundProcessing\Updater\Updater;

abstract class VersionAbstract {

	protected $version;

	public function getVersion() {
		return $this->version;
	}

	protected function setCurrentDBVersion() {
		update_option( Updater::DB_OPTION, $this->getVersion() );
	}
}
```
