Upgraded drupal core with security updates
[yaffs-website] / web / core / lib / Drupal / Core / ProxyClass / Config / ConfigInstaller.php
1 <?php
2 // @codingStandardsIgnoreFile
3
4 /**
5  * This file was generated via php core/scripts/generate-proxy-class.php 'Drupal\Core\Config\ConfigInstaller' "core/lib/Drupal/Core".
6  */
7
8 namespace Drupal\Core\ProxyClass\Config {
9
10     /**
11      * Provides a proxy class for \Drupal\Core\Config\ConfigInstaller.
12      *
13      * @see \Drupal\Component\ProxyBuilder
14      */
15     class ConfigInstaller implements \Drupal\Core\Config\ConfigInstallerInterface
16     {
17
18         use \Drupal\Core\DependencyInjection\DependencySerializationTrait;
19
20         /**
21          * The id of the original proxied service.
22          *
23          * @var string
24          */
25         protected $drupalProxyOriginalServiceId;
26
27         /**
28          * The real proxied service, after it was lazy loaded.
29          *
30          * @var \Drupal\Core\Config\ConfigInstaller
31          */
32         protected $service;
33
34         /**
35          * The service container.
36          *
37          * @var \Symfony\Component\DependencyInjection\ContainerInterface
38          */
39         protected $container;
40
41         /**
42          * Constructs a ProxyClass Drupal proxy object.
43          *
44          * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
45          *   The container.
46          * @param string $drupal_proxy_original_service_id
47          *   The service ID of the original service.
48          */
49         public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id)
50         {
51             $this->container = $container;
52             $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id;
53         }
54
55         /**
56          * Lazy loads the real service from the container.
57          *
58          * @return object
59          *   Returns the constructed real service.
60          */
61         protected function lazyLoadItself()
62         {
63             if (!isset($this->service)) {
64                 $this->service = $this->container->get($this->drupalProxyOriginalServiceId);
65             }
66
67             return $this->service;
68         }
69
70         /**
71          * {@inheritdoc}
72          */
73         public function installDefaultConfig($type, $name)
74         {
75             return $this->lazyLoadItself()->installDefaultConfig($type, $name);
76         }
77
78         /**
79          * {@inheritdoc}
80          */
81         public function installOptionalConfig(\Drupal\Core\Config\StorageInterface $storage = NULL, $dependency = array (
82         ))
83         {
84             return $this->lazyLoadItself()->installOptionalConfig($storage, $dependency);
85         }
86
87         /**
88          * {@inheritdoc}
89          */
90         public function installCollectionDefaultConfig($collection)
91         {
92             return $this->lazyLoadItself()->installCollectionDefaultConfig($collection);
93         }
94
95         /**
96          * {@inheritdoc}
97          */
98         public function setSourceStorage(\Drupal\Core\Config\StorageInterface $storage)
99         {
100             return $this->lazyLoadItself()->setSourceStorage($storage);
101         }
102
103         /**
104          * {@inheritdoc}
105          */
106         public function getSourceStorage()
107         {
108             return $this->lazyLoadItself()->getSourceStorage();
109         }
110
111         /**
112          * {@inheritdoc}
113          */
114         public function setSyncing($status)
115         {
116             return $this->lazyLoadItself()->setSyncing($status);
117         }
118
119         /**
120          * {@inheritdoc}
121          */
122         public function isSyncing()
123         {
124             return $this->lazyLoadItself()->isSyncing();
125         }
126
127         /**
128          * {@inheritdoc}
129          */
130         public function checkConfigurationToInstall($type, $name)
131         {
132             return $this->lazyLoadItself()->checkConfigurationToInstall($type, $name);
133         }
134
135     }
136
137 }