protected function BootstrapLayoutsUninstallValidator::lazyLoadItself in Bootstrap Layouts 8.5
Same name and namespace in other branches
- 8.4 src/ProxyClass/BootstrapLayoutsUninstallValidator.php \Drupal\bootstrap_layouts\ProxyClass\BootstrapLayoutsUninstallValidator::lazyLoadItself()
Lazy loads the real service from the container.
Return value
object Returns the constructed real service.
File
- src/
ProxyClass/ BootstrapLayoutsUninstallValidator.php, line 61
Class
- BootstrapLayoutsUninstallValidator
- Provides a proxy class for \Drupal\bootstrap_layouts\BootstrapLayoutsUninstallValidator.
Namespace
Drupal\bootstrap_layouts\ProxyClassCode
protected function lazyLoadItself() {
if (!isset($this->service)) {
$this->service = $this->container
->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}