class ServiceProviderPluginManager in Service Container 7.2
Same name and namespace in other branches
- 7 src/DependencyInjection/ServiceProviderPluginManager.php \Drupal\service_container\DependencyInjection\ServiceProviderPluginManager
Defines a plugin manager used for discovering container service definitions.
Hierarchy
- class \Drupal\service_container\Plugin\PluginManagerBase implements PluginManagerInterface
- class \Drupal\service_container\Plugin\DefaultPluginManager
- class \Drupal\service_container\DependencyInjection\ServiceProviderPluginManager
- class \Drupal\service_container\Plugin\DefaultPluginManager
Expanded class hierarchy of ServiceProviderPluginManager
1 file declares its use of ServiceProviderPluginManager
- ServiceContainer.php in lib/
ServiceContainer.php - Contains ServiceContainer
File
- src/
DependencyInjection/ ServiceProviderPluginManager.php, line 15 - Contains \Drupal\service_container\DependencyInjection\ServiceProviderPluginManager
Namespace
Drupal\service_container\DependencyInjectionView source
class ServiceProviderPluginManager extends DefaultPluginManager {
/**
* Constructs a ServiceProviderPluginManager object.
*
* This uses ctools for discovery of service_container ServiceProvider objects.
*
* @codeCoverageIgnore
*/
public function __construct() {
$discovery = new CToolsPluginDiscovery(array(
'owner' => 'service_container',
'type' => 'ServiceProvider',
));
parent::__construct($discovery);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginManagerBase:: |
protected | property | The object that discovers plugins managed by this manager. | |
PluginManagerBase:: |
protected | property | The object that instantiates plugins managed by this manager. | |
PluginManagerBase:: |
public | function |
Creates a pre-configured instance of a plugin. Overrides FactoryInterface:: |
|
PluginManagerBase:: |
public | function |
Gets a specific plugin definition. Overrides DiscoveryInterface:: |
|
PluginManagerBase:: |
public | function |
Gets the definition of all plugins for this type. Overrides DiscoveryInterface:: |
|
PluginManagerBase:: |
public | function |
Gets a preconfigured instance of a plugin. Overrides MapperInterface:: |
|
PluginManagerBase:: |
public | function |
Indicates if a specific plugin definition exists. Overrides DiscoveryInterface:: |
|
ServiceProviderPluginManager:: |
public | function |
Constructs a ServiceProviderPluginManager object. Overrides DefaultPluginManager:: |