Extend the component proxy builder by using the DependencySerialziationTrait.
Hierarchy
- class \Drupal\Component\ProxyBuilder\ProxyBuilder
- class \Drupal\Core\ProxyBuilder\ProxyBuilder
File
- core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php, line 10
Namespace
Drupal\Core\ProxyBuilder
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ProxyBuilder::build | public | function | Builds a proxy class string. |
ProxyBuilder::buildConstructorMethod | protected | function | Builds the constructor used to inject the actual service ID. |
ProxyBuilder::buildLazyLoadItselfMethod | protected | function | Generates the string for the method which loads the actual service. |
ProxyBuilder::buildMethod | protected | function | Generates the string representation of a single method: signature, body. |
ProxyBuilder::buildMethodBody | protected | function | Builds the body of a wrapped method. |
ProxyBuilder::buildParameter | protected | function | Builds a string for a single parameter of a method. |
ProxyBuilder::buildProxyClassName | public static | function | Generates the used proxy class name from a given class name. |
ProxyBuilder::buildProxyNamespace | public static | function | Generates the used proxy namespace from a given class name. |
ProxyBuilder::buildUseStatements | protected | function | {@inheritdoc{ Overrides ProxyBuilder::buildUseStatements |
Please login to continue.