protected function ListCommand::lazyLoadItself in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/ProxyClass/Command/ListCommand.php \Drupal\webprofiler\ProxyClass\Command\ListCommand::lazyLoadItself()
- 8.2 webprofiler/src/ProxyClass/Command/ListCommand.php \Drupal\webprofiler\ProxyClass\Command\ListCommand::lazyLoadItself()
- 4.x webprofiler/src/ProxyClass/Command/ListCommand.php \Drupal\webprofiler\ProxyClass\Command\ListCommand::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
- webprofiler/
src/ ProxyClass/ Command/ ListCommand.php, line 61
Class
- ListCommand
- Provides a proxy class for \Drupal\webprofiler\Command\ListCommand.
Namespace
Drupal\webprofiler\ProxyClass\CommandCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}