ProxyBuilder

Generates the string representation of the proxy service.

Hierarchy

File

core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php, line 8

Namespace

Drupal\Component\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 Build the required use statements of the proxy class.
doc_Drupal
2016-10-29 09:35:07
Comments
Leave a Comment

Please login to continue.