Extend the component proxy builder by using the DependencySerialziationTrait.
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 |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ProxyBuilder!ProxyBuilder.php/class/ProxyBuilder/8.1.x