Implements the class resolver interface supporting class names and services.
Hierarchy
- class \Drupal\Core\DependencyInjection\ClassResolver implements ClassResolverInterface, ContainerAwareInterface uses DependencySerializationTrait, ContainerAwareTrait
File
- core/lib/Drupal/Core/DependencyInjection/ClassResolver.php, line 11
Namespace
Drupal\Core\DependencyInjection
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ClassResolver::getInstanceFromDefinition | public | function | Returns a class instance with a given class definition. Overrides ClassResolverInterface::getInstanceFromDefinition |
ContainerAwareTrait::$container | protected | property | |
ContainerAwareTrait::setContainer | public | function | Sets the container. Overrides ContainerAwareInterface::setContainer |
DependencySerializationTrait::$_serviceIds | protected | property | An array of service IDs keyed by property name used for serialization. |
DependencySerializationTrait::__sleep | public | function | |
DependencySerializationTrait::__wakeup | public | function |
Please login to continue.