oc-shopaholic/oc-shopaholic-plugin

View on GitHub
classes/store/TaxListStore.php

Summary

Maintainability
A
45 mins
Test Coverage
<?php namespace Lovata\Shopaholic\Classes\Store;

use Lovata\Toolbox\Classes\Store\AbstractListStore;

use Lovata\Shopaholic\Classes\Store\Tax\ActiveListStore;
use Lovata\Shopaholic\Classes\Store\Tax\SortingListStore;

/**
 * Class TaxListStore
 * @package Lovata\Shopaholic\Classes\Store
 * @author  Andrey Kharanenka, a.khoronenko@lovata.com, LOVATA Group
 * @property ActiveListStore     $active
 * @property SortingListStore    $sorting
 */
class TaxListStore extends AbstractListStore
{
    protected static $instance;

    /**
     * Init store method
     */
    protected function init()
    {
        $this->addToStoreList('active', ActiveListStore::class);
        $this->addToStoreList('sorting', SortingListStore::class);
    }
}