Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

remove unneeded createService functions that actually do same with base class ( AbstractPluginManagerFactory ) #5762

Merged
merged 1 commit into from

2 participants

@samsonasik

No description provided.

@Maks3w Maks3w was assigned by samsonasik
@Maks3w Maks3w merged commit 84b66d5 into zendframework:master

1 check passed

Details default The Travis CI build passed
@samsonasik samsonasik deleted the samsonasik:remove/derivedfunc branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
15 library/Zend/Mvc/Service/ControllerPluginManagerFactory.php
@@ -9,22 +9,7 @@
namespace Zend\Mvc\Service;
-use Zend\Mvc\Controller\PluginManager;
-use Zend\ServiceManager\ServiceLocatorInterface;
-
class ControllerPluginManagerFactory extends AbstractPluginManagerFactory
{
const PLUGIN_MANAGER_CLASS = 'Zend\Mvc\Controller\PluginManager';
-
- /**
- * Create and return the MVC controller plugin manager
- *
- * @param ServiceLocatorInterface $serviceLocator
- * @return PluginManager
- */
- public function createService(ServiceLocatorInterface $serviceLocator)
- {
- $plugins = parent::createService($serviceLocator);
- return $plugins;
- }
}
View
14 library/Zend/Mvc/Service/FilterManagerFactory.php
@@ -9,21 +9,7 @@
namespace Zend\Mvc\Service;
-use Zend\ServiceManager\ServiceLocatorInterface;
-
class FilterManagerFactory extends AbstractPluginManagerFactory
{
const PLUGIN_MANAGER_CLASS = 'Zend\Filter\FilterPluginManager';
-
- /**
- * Create and return the filter plugin manager
- *
- * @param ServiceLocatorInterface $serviceLocator
- * @return \Zend\Filter\FilterPluginManager
- */
- public function createService(ServiceLocatorInterface $serviceLocator)
- {
- $plugins = parent::createService($serviceLocator);
- return $plugins;
- }
}
View
14 library/Zend/Mvc/Service/PaginatorPluginManagerFactory.php
@@ -9,21 +9,7 @@
namespace Zend\Mvc\Service;
-use Zend\ServiceManager\ServiceLocatorInterface;
-
class PaginatorPluginManagerFactory extends AbstractPluginManagerFactory
{
const PLUGIN_MANAGER_CLASS = 'Zend\Paginator\AdapterPluginManager';
-
- /**
- * Create and return the MVC controller plugin manager
- *
- * @param ServiceLocatorInterface $serviceLocator
- * @return \Zend\Paginator\AdapterPluginManager
- */
- public function createService(ServiceLocatorInterface $serviceLocator)
- {
- $plugins = parent::createService($serviceLocator);
- return $plugins;
- }
}
View
14 library/Zend/Mvc/Service/ValidatorManagerFactory.php
@@ -9,21 +9,7 @@
namespace Zend\Mvc\Service;
-use Zend\ServiceManager\ServiceLocatorInterface;
-
class ValidatorManagerFactory extends AbstractPluginManagerFactory
{
const PLUGIN_MANAGER_CLASS = 'Zend\Validator\ValidatorPluginManager';
-
- /**
- * Create and return the validator plugin manager
- *
- * @param ServiceLocatorInterface $serviceLocator
- * @return \Zend\Validator\ValidatorPluginManager
- */
- public function createService(ServiceLocatorInterface $serviceLocator)
- {
- $plugins = parent::createService($serviceLocator);
- return $plugins;
- }
}
Something went wrong with that request. Please try again.