b0y-101 Mini Shell


Current Path : E:/wordpress/wp-content/plugins/smart-slider-3/Nextend/Framework/Model/
File Upload :
Current File : E:/wordpress/wp-content/plugins/smart-slider-3/Nextend/Framework/Model/StorageSectionManager.php

<?php


namespace Nextend\Framework\Model;


class StorageSectionManager {

    /** @var ApplicationSection[] */
    private static $storageTypes = array();

    /**
     * @param $type
     *
     * @return ApplicationSection
     */
    public static function getStorage($type) {

        if (!isset(self::$storageTypes[$type])) {
            self::$storageTypes[$type] = new ApplicationSection($type);
        }

        return self::$storageTypes[$type];
    }
}

Copyright © 2019 by b0y-101