public function __construct() { $items = ['plugins' => new Plugins(), 'themes' => new Themes()]; parent::__construct($items); }
public function __construct($refresh = false, $callback = null) { $items = ['plugins' => new Plugins($refresh, $callback), 'themes' => new Themes($refresh, $callback)]; parent::__construct($items); }