$path) { $pluginLoader->addPrefixPath($prefix, $path); } } $adapterClassName = $pluginLoader->load($adapter); return new Qs_Paginator(new $adapterClassName($data)); } public function setCurrentItems($currentItems) { $this->_currentItems = $currentItems; } }