PluginProbe
Tiered Pricing Table for WooCommerce / 2.2.2
Tiered Pricing Table for WooCommerce v2.2.2
7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 All 90 releases
tier-pricing-table / src / Admin / ProductManagers / ProductManagerAbstract.php

ProductManagerAbstract.php in Tiered Pricing Table for WooCommerce 2.2.2, at src/Admin/ProductManagers/ProductManagerAbstract.php

50 lines 952 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php namespace TierPricingTable\Admin\ProductManagers;
2
3 use Premmerce\SDK\V2\FileManager\FileManager;
4 use TierPricingTable\Freemius;
5 use TierPricingTable\Settings\Settings;
6
7 /**
8 * Class ProductManagerAbstract
9 *
10 * @package TierPricingTable\Admin\ProductManagers
11 */
12 abstract class ProductManagerAbstract {
13
14 /**
15 * @var FileManager
16 */
17 protected $fileManager;
18
19 /**
20 * @var Settings
21 */
22 protected $settings;
23
24 /**
25 * @var Freemius
26 */
27 protected $licence;
28
29 /**
30 * Product Manager constructor.
31 *
32 * Register menu items and handlers
33 *
34 * @param FileManager $fileManager
35 * @param Settings $settings
36 * @param Freemius $licence
37 */
38 public function __construct( FileManager $fileManager, Settings $settings, Freemius $licence ) {
39 $this->fileManager = $fileManager;
40 $this->settings = $settings;
41 $this->licence = $licence;
42
43 $this->hooks();
44 }
45
46 /**
47 * Register manager hooks
48 */
49 protected abstract function hooks();
50 }