Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
smart-slider-3
/
Nextend
/
Framework
/
Model
:
StorageSectionManager.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?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]; } }