protected function CourierChannelConverter::lazyLoadItself in Courier 8
Same name and namespace in other branches
- 2.x src/ProxyClass/ParamConverter/CourierChannelConverter.php \Drupal\courier\ProxyClass\ParamConverter\CourierChannelConverter::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
- src/
ProxyClass/ ParamConverter/ CourierChannelConverter.php, line 64 - Contains \Drupal\courier\ProxyClass\ParamConverter\CourierChannelConverter.
Class
- CourierChannelConverter
- Provides a proxy class for \Drupal\courier\ParamConverter\CourierChannelConverter.
Namespace
Drupal\courier\ProxyClass\ParamConverterCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}