diff --git a/core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php b/core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php index 9f2dd9e..95575b2 100644 --- a/core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php +++ b/core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Batch\BatchStorage' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Batch { @@ -22,11 +22,15 @@ class BatchStorage implements \Drupal\Core\Batch\BatchStorageInterface use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Batch\BatchStorage */ protected $service; @@ -38,41 +42,70 @@ class BatchStorage implements \Drupal\Core\Batch\BatchStorageInterface */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function load($id) { return $this->lazyLoadItself()->load($id); } + /** + * {@inheritdoc} + */ public function delete($id) { return $this->lazyLoadItself()->delete($id); } + /** + * {@inheritdoc} + */ public function update(array $batch) { return $this->lazyLoadItself()->update($batch); } + /** + * {@inheritdoc} + */ public function cleanup() { return $this->lazyLoadItself()->cleanup(); } + /** + * {@inheritdoc} + */ public function create(array $batch) { return $this->lazyLoadItself()->create($batch); diff --git a/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php b/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php index f5d0899..3eff9a8 100644 --- a/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php +++ b/core/lib/Drupal/Core/ProxyClass/Config/ConfigInstaller.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Config\ConfigInstaller' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Config { @@ -22,11 +22,15 @@ class ConfigInstaller implements \Drupal\Core\Config\ConfigInstallerInterface use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Config\ConfigInstaller */ protected $service; @@ -38,57 +42,95 @@ class ConfigInstaller implements \Drupal\Core\Config\ConfigInstallerInterface */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function installDefaultConfig($type, $name) { return $this->lazyLoadItself()->installDefaultConfig($type, $name); } + /** + * {@inheritdoc} + */ public function installOptionalConfig(\Drupal\Core\Config\StorageInterface $storage = NULL, $dependency = array ( )) { return $this->lazyLoadItself()->installOptionalConfig($storage, $dependency); } + /** + * {@inheritdoc} + */ public function installCollectionDefaultConfig($collection) { return $this->lazyLoadItself()->installCollectionDefaultConfig($collection); } + /** + * {@inheritdoc} + */ public function setSourceStorage(\Drupal\Core\Config\StorageInterface $storage) { return $this->lazyLoadItself()->setSourceStorage($storage); } + /** + * {@inheritdoc} + */ public function getSourceStorage() { return $this->lazyLoadItself()->getSourceStorage(); } + /** + * {@inheritdoc} + */ public function setSyncing($status) { return $this->lazyLoadItself()->setSyncing($status); } + /** + * {@inheritdoc} + */ public function isSyncing() { return $this->lazyLoadItself()->isSyncing(); } + /** + * {@inheritdoc} + */ public function checkConfigurationToInstall($type, $name) { return $this->lazyLoadItself()->checkConfigurationToInstall($type, $name); diff --git a/core/lib/Drupal/Core/ProxyClass/Cron.php b/core/lib/Drupal/Core/ProxyClass/Cron.php index 57f484d..ec1903c 100644 --- a/core/lib/Drupal/Core/ProxyClass/Cron.php +++ b/core/lib/Drupal/Core/ProxyClass/Cron.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Cron' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass { @@ -22,11 +22,15 @@ class Cron implements \Drupal\Core\CronInterface use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Cron */ protected $service; @@ -38,21 +42,38 @@ class Cron implements \Drupal\Core\CronInterface */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function run() { return $this->lazyLoadItself()->run(); diff --git a/core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php b/core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php index 2fdc139..1edf759 100644 --- a/core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php +++ b/core/lib/Drupal/Core/ProxyClass/Entity/ContentUninstallValidator.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Entity\ContentUninstallValidator' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Entity { @@ -22,11 +22,15 @@ class ContentUninstallValidator implements \Drupal\Core\Extension\ModuleUninstal use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Entity\ContentUninstallValidator */ protected $service; @@ -38,26 +42,46 @@ class ContentUninstallValidator implements \Drupal\Core\Extension\ModuleUninstal */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function validate($module) { return $this->lazyLoadItself()->validate($module); } + /** + * {@inheritdoc} + */ public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) { return $this->lazyLoadItself()->setStringTranslation($translation); diff --git a/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php b/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php index 2e2791a..54419f0 100644 --- a/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php +++ b/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Extension\ModuleInstaller' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Extension { @@ -22,11 +22,15 @@ class ModuleInstaller implements \Drupal\Core\Extension\ModuleInstallerInterface use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Extension\ModuleInstaller */ protected $service; @@ -38,36 +42,62 @@ class ModuleInstaller implements \Drupal\Core\Extension\ModuleInstallerInterface */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function addUninstallValidator(\Drupal\Core\Extension\ModuleUninstallValidatorInterface $uninstall_validator) { return $this->lazyLoadItself()->addUninstallValidator($uninstall_validator); } + /** + * {@inheritdoc} + */ public function install(array $module_list, $enable_dependencies = true) { return $this->lazyLoadItself()->install($module_list, $enable_dependencies); } + /** + * {@inheritdoc} + */ public function uninstall(array $module_list, $uninstall_dependents = true) { return $this->lazyLoadItself()->uninstall($module_list, $uninstall_dependents); } + /** + * {@inheritdoc} + */ public function validateUninstall(array $module_list) { return $this->lazyLoadItself()->validateUninstall($module_list); diff --git a/core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php b/core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php index 4bf88f5..0e2ed8a 100644 --- a/core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php +++ b/core/lib/Drupal/Core/ProxyClass/Extension/RequiredModuleUninstallValidator.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Extension\RequiredModuleUninstallValidator' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Extension { @@ -22,11 +22,15 @@ class RequiredModuleUninstallValidator implements \Drupal\Core\Extension\ModuleU use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Extension\RequiredModuleUninstallValidator */ protected $service; @@ -38,26 +42,46 @@ class RequiredModuleUninstallValidator implements \Drupal\Core\Extension\ModuleU */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function validate($module) { return $this->lazyLoadItself()->validate($module); } + /** + * {@inheritdoc} + */ public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) { return $this->lazyLoadItself()->setStringTranslation($translation); diff --git a/core/lib/Drupal/Core/ProxyClass/Field/FieldModuleUninstallValidator.php b/core/lib/Drupal/Core/ProxyClass/Field/FieldModuleUninstallValidator.php index 8a0b949..13a71b7 100644 --- a/core/lib/Drupal/Core/ProxyClass/Field/FieldModuleUninstallValidator.php +++ b/core/lib/Drupal/Core/ProxyClass/Field/FieldModuleUninstallValidator.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Field\FieldModuleUninstallValidator' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Field { @@ -22,11 +22,15 @@ class FieldModuleUninstallValidator implements \Drupal\Core\Extension\ModuleUnin use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Field\FieldModuleUninstallValidator */ protected $service; @@ -38,26 +42,46 @@ class FieldModuleUninstallValidator implements \Drupal\Core\Extension\ModuleUnin */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function validate($module_name) { return $this->lazyLoadItself()->validate($module_name); } + /** + * {@inheritdoc} + */ public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) { return $this->lazyLoadItself()->setStringTranslation($translation); diff --git a/core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php b/core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php index d250001..a2eda15 100644 --- a/core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php +++ b/core/lib/Drupal/Core/ProxyClass/File/MimeType/ExtensionMimeTypeGuesser.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\File\MimeType { @@ -22,11 +22,15 @@ class ExtensionMimeTypeGuesser implements \Symfony\Component\HttpFoundation\File use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser */ protected $service; @@ -38,26 +42,46 @@ class ExtensionMimeTypeGuesser implements \Symfony\Component\HttpFoundation\File */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function guess($path) { return $this->lazyLoadItself()->guess($path); } + /** + * {@inheritdoc} + */ public function setMapping(array $mapping = NULL) { return $this->lazyLoadItself()->setMapping($mapping); diff --git a/core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php b/core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php index ef2320d..fda41ca 100644 --- a/core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php +++ b/core/lib/Drupal/Core/ProxyClass/File/MimeType/MimeTypeGuesser.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\File\MimeType\MimeTypeGuesser' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\File\MimeType { @@ -22,11 +22,15 @@ class MimeTypeGuesser implements \Symfony\Component\HttpFoundation\File\MimeType use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\File\MimeType\MimeTypeGuesser */ protected $service; @@ -38,31 +42,54 @@ class MimeTypeGuesser implements \Symfony\Component\HttpFoundation\File\MimeType */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function guess($path) { return $this->lazyLoadItself()->guess($path); } + /** + * {@inheritdoc} + */ public function addGuesser(\Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface $guesser, $priority = 0) { return $this->lazyLoadItself()->addGuesser($guesser, $priority); } + /** + * {@inheritdoc} + */ public static function registerWithSymfonyGuesser(\Symfony\Component\DependencyInjection\ContainerInterface $container) { \Drupal\Core\File\MimeType\MimeTypeGuesser::registerWithSymfonyGuesser($container); diff --git a/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php b/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php index 0a1644b..efaad1b 100644 --- a/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php +++ b/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Lock\DatabaseLockBackend' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Lock { @@ -22,11 +22,15 @@ class DatabaseLockBackend implements \Drupal\Core\Lock\LockBackendInterface use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Lock\DatabaseLockBackend */ protected $service; @@ -38,46 +42,78 @@ class DatabaseLockBackend implements \Drupal\Core\Lock\LockBackendInterface */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function acquire($name, $timeout = 30) { return $this->lazyLoadItself()->acquire($name, $timeout); } + /** + * {@inheritdoc} + */ public function lockMayBeAvailable($name) { return $this->lazyLoadItself()->lockMayBeAvailable($name); } + /** + * {@inheritdoc} + */ public function release($name) { return $this->lazyLoadItself()->release($name); } + /** + * {@inheritdoc} + */ public function releaseAll($lock_id = NULL) { return $this->lazyLoadItself()->releaseAll($lock_id); } + /** + * {@inheritdoc} + */ public function wait($name, $delay = 30) { return $this->lazyLoadItself()->wait($name, $delay); } + /** + * {@inheritdoc} + */ public function getLockId() { return $this->lazyLoadItself()->getLockId(); diff --git a/core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php b/core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php index 5b4dc36..e7febbf 100644 --- a/core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php +++ b/core/lib/Drupal/Core/ProxyClass/Lock/PersistentDatabaseLockBackend.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Lock\PersistentDatabaseLockBackend' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Lock { @@ -22,11 +22,15 @@ class PersistentDatabaseLockBackend implements \Drupal\Core\Lock\LockBackendInte use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Lock\PersistentDatabaseLockBackend */ protected $service; @@ -38,46 +42,78 @@ class PersistentDatabaseLockBackend implements \Drupal\Core\Lock\LockBackendInte */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function acquire($name, $timeout = 30) { return $this->lazyLoadItself()->acquire($name, $timeout); } + /** + * {@inheritdoc} + */ public function lockMayBeAvailable($name) { return $this->lazyLoadItself()->lockMayBeAvailable($name); } + /** + * {@inheritdoc} + */ public function release($name) { return $this->lazyLoadItself()->release($name); } + /** + * {@inheritdoc} + */ public function releaseAll($lock_id = NULL) { return $this->lazyLoadItself()->releaseAll($lock_id); } + /** + * {@inheritdoc} + */ public function wait($name, $delay = 30) { return $this->lazyLoadItself()->wait($name, $delay); } + /** + * {@inheritdoc} + */ public function getLockId() { return $this->lazyLoadItself()->getLockId(); diff --git a/core/lib/Drupal/Core/ProxyClass/PageCache/ChainResponsePolicy.php b/core/lib/Drupal/Core/ProxyClass/PageCache/ChainResponsePolicy.php index 13b391e..7b04df7 100644 --- a/core/lib/Drupal/Core/ProxyClass/PageCache/ChainResponsePolicy.php +++ b/core/lib/Drupal/Core/ProxyClass/PageCache/ChainResponsePolicy.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\PageCache\ChainResponsePolicy' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\PageCache { @@ -22,11 +22,15 @@ class ChainResponsePolicy implements \Drupal\Core\PageCache\ChainResponsePolicyI use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\PageCache\ChainResponsePolicy */ protected $service; @@ -38,26 +42,46 @@ class ChainResponsePolicy implements \Drupal\Core\PageCache\ChainResponsePolicyI */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function check(\Symfony\Component\HttpFoundation\Response $response, \Symfony\Component\HttpFoundation\Request $request) { return $this->lazyLoadItself()->check($response, $request); } + /** + * {@inheritdoc} + */ public function addPolicy(\Drupal\Core\PageCache\ResponsePolicyInterface $policy) { return $this->lazyLoadItself()->addPolicy($policy); diff --git a/core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php b/core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php index a6516ee..43c1d12 100644 --- a/core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php +++ b/core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\ParamConverter\AdminPathConfigEntityConverter' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\ParamConverter { @@ -22,11 +22,15 @@ class AdminPathConfigEntityConverter implements \Drupal\Core\ParamConverter\Para use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\ParamConverter\AdminPathConfigEntityConverter */ protected $service; @@ -38,26 +42,46 @@ class AdminPathConfigEntityConverter implements \Drupal\Core\ParamConverter\Para */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function convert($value, $definition, $name, array $defaults) { return $this->lazyLoadItself()->convert($value, $definition, $name, $defaults); } + /** + * {@inheritdoc} + */ public function applies($definition, $name, \Symfony\Component\Routing\Route $route) { return $this->lazyLoadItself()->applies($definition, $name, $route); diff --git a/core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php b/core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php index ea0e7dd..9fc29e0 100644 --- a/core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php +++ b/core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\ParamConverter\MenuLinkPluginConverter' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\ParamConverter { @@ -22,11 +22,15 @@ class MenuLinkPluginConverter implements \Drupal\Core\ParamConverter\ParamConver use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\ParamConverter\MenuLinkPluginConverter */ protected $service; @@ -38,26 +42,46 @@ class MenuLinkPluginConverter implements \Drupal\Core\ParamConverter\ParamConver */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function convert($value, $definition, $name, array $defaults) { return $this->lazyLoadItself()->convert($value, $definition, $name, $defaults); } + /** + * {@inheritdoc} + */ public function applies($definition, $name, \Symfony\Component\Routing\Route $route) { return $this->lazyLoadItself()->applies($definition, $name, $route); diff --git a/core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php b/core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php index 2a1f8fb..6f3fba1 100644 --- a/core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php +++ b/core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Plugin\CachedDiscoveryClearer' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Plugin { @@ -22,11 +22,15 @@ class CachedDiscoveryClearer implements \Drupal\Core\Plugin\CachedDiscoveryClear use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Plugin\CachedDiscoveryClearer */ protected $service; @@ -38,26 +42,46 @@ class CachedDiscoveryClearer implements \Drupal\Core\Plugin\CachedDiscoveryClear */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function addCachedDiscovery(\Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface $cached_discovery) { return $this->lazyLoadItself()->addCachedDiscovery($cached_discovery); } + /** + * {@inheritdoc} + */ public function clearCachedDefinitions() { return $this->lazyLoadItself()->clearCachedDefinitions(); diff --git a/core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php b/core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php index 53277c7..1e554aa 100644 --- a/core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php +++ b/core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Render\BareHtmlPageRenderer' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Render { @@ -22,11 +22,15 @@ class BareHtmlPageRenderer implements \Drupal\Core\Render\BareHtmlPageRendererIn use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Render\BareHtmlPageRenderer */ protected $service; @@ -38,21 +42,38 @@ class BareHtmlPageRenderer implements \Drupal\Core\Render\BareHtmlPageRendererIn */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function renderBarePage(array $content, $title, $page_theme_property, array $page_additions = array ( )) { diff --git a/core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php b/core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php index a7aea17..501b0b7 100644 --- a/core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php +++ b/core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Routing\MatcherDumper' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Routing { @@ -22,11 +22,15 @@ class MatcherDumper implements \Drupal\Core\Routing\MatcherDumperInterface use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Routing\MatcherDumper */ protected $service; @@ -38,32 +42,55 @@ class MatcherDumper implements \Drupal\Core\Routing\MatcherDumperInterface */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function addRoutes(\Symfony\Component\Routing\RouteCollection $routes) { return $this->lazyLoadItself()->addRoutes($routes); } + /** + * {@inheritdoc} + */ public function dump(array $options = array ( )) { return $this->lazyLoadItself()->dump($options); } + /** + * {@inheritdoc} + */ public function getRoutes() { return $this->lazyLoadItself()->getRoutes(); diff --git a/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php b/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php index 092d8ad..987db1f 100644 --- a/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php +++ b/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Routing\RouteBuilder' "core/lib/Drupal/Core". */ namespace Drupal\Core\ProxyClass\Routing { @@ -22,11 +22,15 @@ class RouteBuilder implements \Drupal\Core\Routing\RouteBuilderInterface, \Drupa use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\Core\Routing\RouteBuilder */ protected $service; @@ -38,36 +42,62 @@ class RouteBuilder implements \Drupal\Core\Routing\RouteBuilderInterface, \Drupa */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function setRebuildNeeded() { return $this->lazyLoadItself()->setRebuildNeeded(); } + /** + * {@inheritdoc} + */ public function rebuild() { return $this->lazyLoadItself()->rebuild(); } + /** + * {@inheritdoc} + */ public function rebuildIfNeeded() { return $this->lazyLoadItself()->rebuildIfNeeded(); } + /** + * {@inheritdoc} + */ public function destruct() { return $this->lazyLoadItself()->destruct(); diff --git a/core/modules/book/src/ProxyClass/BookUninstallValidator.php b/core/modules/book/src/ProxyClass/BookUninstallValidator.php index 85ed47b..12f91bb 100644 --- a/core/modules/book/src/ProxyClass/BookUninstallValidator.php +++ b/core/modules/book/src/ProxyClass/BookUninstallValidator.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\book\BookUninstallValidator' "core/modules/book/src". */ namespace Drupal\book\ProxyClass { @@ -22,11 +22,15 @@ class BookUninstallValidator implements \Drupal\Core\Extension\ModuleUninstallVa use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\book\BookUninstallValidator */ protected $service; @@ -38,26 +42,46 @@ class BookUninstallValidator implements \Drupal\Core\Extension\ModuleUninstallVa */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function validate($module) { return $this->lazyLoadItself()->validate($module); } + /** + * {@inheritdoc} + */ public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) { return $this->lazyLoadItself()->setStringTranslation($translation); diff --git a/core/modules/field/src/ProxyClass/FieldUninstallValidator.php b/core/modules/field/src/ProxyClass/FieldUninstallValidator.php index 75e24e1..89667bf 100644 --- a/core/modules/field/src/ProxyClass/FieldUninstallValidator.php +++ b/core/modules/field/src/ProxyClass/FieldUninstallValidator.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\field\FieldUninstallValidator' "core/modules/field/src". */ namespace Drupal\field\ProxyClass { @@ -22,11 +22,15 @@ class FieldUninstallValidator implements \Drupal\Core\Extension\ModuleUninstallV use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\field\FieldUninstallValidator */ protected $service; @@ -38,26 +42,46 @@ class FieldUninstallValidator implements \Drupal\Core\Extension\ModuleUninstallV */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function validate($module) { return $this->lazyLoadItself()->validate($module); } + /** + * {@inheritdoc} + */ public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) { return $this->lazyLoadItself()->setStringTranslation($translation); diff --git a/core/modules/filter/src/ProxyClass/FilterUninstallValidator.php b/core/modules/filter/src/ProxyClass/FilterUninstallValidator.php index 92b8d9e..63fa96c 100644 --- a/core/modules/filter/src/ProxyClass/FilterUninstallValidator.php +++ b/core/modules/filter/src/ProxyClass/FilterUninstallValidator.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\filter\FilterUninstallValidator' "core/modules/filter/src". */ namespace Drupal\filter\ProxyClass { @@ -22,11 +22,15 @@ class FilterUninstallValidator implements \Drupal\Core\Extension\ModuleUninstall use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\filter\FilterUninstallValidator */ protected $service; @@ -38,26 +42,46 @@ class FilterUninstallValidator implements \Drupal\Core\Extension\ModuleUninstall */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function validate($module) { return $this->lazyLoadItself()->validate($module); } + /** + * {@inheritdoc} + */ public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) { return $this->lazyLoadItself()->setStringTranslation($translation); diff --git a/core/modules/forum/src/ProxyClass/ForumUninstallValidator.php b/core/modules/forum/src/ProxyClass/ForumUninstallValidator.php index 4cee29a..59a747e 100644 --- a/core/modules/forum/src/ProxyClass/ForumUninstallValidator.php +++ b/core/modules/forum/src/ProxyClass/ForumUninstallValidator.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\forum\ForumUninstallValidator' "core/modules/forum/src". */ namespace Drupal\forum\ProxyClass { @@ -22,11 +22,15 @@ class ForumUninstallValidator implements \Drupal\Core\Extension\ModuleUninstallV use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\forum\ForumUninstallValidator */ protected $service; @@ -38,26 +42,46 @@ class ForumUninstallValidator implements \Drupal\Core\Extension\ModuleUninstallV */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function validate($module) { return $this->lazyLoadItself()->validate($module); } + /** + * {@inheritdoc} + */ public function setStringTranslation(\Drupal\Core\StringTranslation\TranslationInterface $translation) { return $this->lazyLoadItself()->setStringTranslation($translation); diff --git a/core/modules/language/src/ProxyClass/LanguageConverter.php b/core/modules/language/src/ProxyClass/LanguageConverter.php index 4b501cd..95a14e1 100644 --- a/core/modules/language/src/ProxyClass/LanguageConverter.php +++ b/core/modules/language/src/ProxyClass/LanguageConverter.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\language\LanguageConverter' "core/modules/language/src". */ namespace Drupal\language\ProxyClass { @@ -22,11 +22,15 @@ class LanguageConverter implements \Drupal\Core\ParamConverter\ParamConverterInt use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\language\LanguageConverter */ protected $service; @@ -38,26 +42,46 @@ class LanguageConverter implements \Drupal\Core\ParamConverter\ParamConverterInt */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function convert($value, $definition, $name, array $defaults) { return $this->lazyLoadItself()->convert($value, $definition, $name, $defaults); } + /** + * {@inheritdoc} + */ public function applies($definition, $name, \Symfony\Component\Routing\Route $route) { return $this->lazyLoadItself()->applies($definition, $name, $route); diff --git a/core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php b/core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php index 49b6018..565424f 100644 --- a/core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php +++ b/core/modules/node/src/ProxyClass/ParamConverter/NodePreviewConverter.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\node\ParamConverter\NodePreviewConverter' "core/modules/node/src". */ namespace Drupal\node\ProxyClass\ParamConverter { @@ -22,11 +22,15 @@ class NodePreviewConverter implements \Drupal\Core\ParamConverter\ParamConverter use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\node\ParamConverter\NodePreviewConverter */ protected $service; @@ -38,26 +42,46 @@ class NodePreviewConverter implements \Drupal\Core\ParamConverter\ParamConverter */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function convert($value, $definition, $name, array $defaults) { return $this->lazyLoadItself()->convert($value, $definition, $name, $defaults); } + /** + * {@inheritdoc} + */ public function applies($definition, $name, \Symfony\Component\Routing\Route $route) { return $this->lazyLoadItself()->applies($definition, $name, $route); diff --git a/core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php b/core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php index 36a9993..b742e7d 100644 --- a/core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php +++ b/core/modules/views_ui/src/ProxyClass/ParamConverter/ViewUIConverter.php @@ -6,7 +6,7 @@ */ /** - * This file is generated via core/scripts/generate-proxy-class.php. + * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\views_ui\ParamConverter\ViewUIConverter' "core/modules/views_ui/src". */ namespace Drupal\views_ui\ProxyClass\ParamConverter { @@ -22,11 +22,15 @@ class ViewUIConverter implements \Drupal\Core\ParamConverter\ParamConverterInter use \Drupal\Core\DependencyInjection\DependencySerializationTrait; /** + * The id of the original proxied service. + * * @var string */ - protected $serviceId; + protected $drupalProxyOriginalServiceId; /** + * The real proxied service, after it was lazy loaded. + * * @var \Drupal\views_ui\ParamConverter\ViewUIConverter */ protected $service; @@ -38,26 +42,46 @@ class ViewUIConverter implements \Drupal\Core\ParamConverter\ParamConverterInter */ protected $container; - public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $serviceId) + /** + * Constructs a ProxyClass Drupal proxy object. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * The container. + * @param string $drupal_proxy_original_service_id + * The service ID of the original service. + */ + public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) { $this->container = $container; - $this->serviceId = $serviceId; + $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id; } + /** + * Lazy loads the real service from the container. + * + * @return object + * Returns the constructed real service. + */ protected function lazyLoadItself() { if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); + $this->service = $this->container->get($this->drupalProxyOriginalServiceId); } return $this->service; } + /** + * {@inheritdoc} + */ public function convert($value, $definition, $name, array $defaults) { return $this->lazyLoadItself()->convert($value, $definition, $name, $defaults); } + /** + * {@inheritdoc} + */ public function applies($definition, $name, \Symfony\Component\Routing\Route $route) { return $this->lazyLoadItself()->applies($definition, $name, $route); diff --git a/core/modules/views_ui/src/ProxyClass/ViewUIConverter.php b/core/modules/views_ui/src/ProxyClass/ViewUIConverter.php deleted file mode 100644 index 8e525cb..0000000 --- a/core/modules/views_ui/src/ProxyClass/ViewUIConverter.php +++ /dev/null @@ -1,68 +0,0 @@ -container = $container; - $this->serviceId = $serviceId; - } - - protected function lazyLoadItself() - { - if (!isset($this->service)) { - $this->service = $this->container->get($this->serviceId); - } - - return $this->service; - } - - public function convert($value, $definition, $name, array $defaults) - { - return $this->lazyLoadItself()->convert($value, $definition, $name, $defaults); - } - - public function applies($definition, $name, \Symfony\Component\Routing\Route $route) - { - return $this->lazyLoadItself()->applies($definition, $name, $route); - } - - } - -}