ListCommand.php 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <?php
  2. // @codingStandardsIgnoreFile
  3. /**
  4. * This file was generated via php core/scripts/generate-proxy-class.php
  5. * 'Drupal\webprofiler\Command\ListCommand'
  6. * "modules/contrib/devel/webprofiler/src".
  7. */
  8. namespace Drupal\webprofiler\ProxyClass\Command {
  9. /**
  10. * Provides a proxy class for \Drupal\webprofiler\Command\ListCommand.
  11. *
  12. * @see \Drupal\Component\ProxyBuilder
  13. */
  14. class ListCommand {
  15. use \Drupal\Core\DependencyInjection\DependencySerializationTrait;
  16. /**
  17. * The id of the original proxied service.
  18. *
  19. * @var string
  20. */
  21. protected $drupalProxyOriginalServiceId;
  22. /**
  23. * The real proxied service, after it was lazy loaded.
  24. *
  25. * @var \Drupal\webprofiler\Command\ListCommand
  26. */
  27. protected $service;
  28. /**
  29. * The service container.
  30. *
  31. * @var \Symfony\Component\DependencyInjection\ContainerInterface
  32. */
  33. protected $container;
  34. /**
  35. * Constructs a ProxyClass Drupal proxy object.
  36. *
  37. * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
  38. * The container.
  39. * @param string $drupal_proxy_original_service_id
  40. * The service ID of the original service.
  41. */
  42. public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) {
  43. $this->container = $container;
  44. $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id;
  45. }
  46. /**
  47. * Lazy loads the real service from the container.
  48. *
  49. * @return object
  50. * Returns the constructed real service.
  51. */
  52. protected function lazyLoadItself() {
  53. if (!isset($this->service)) {
  54. $this->service = $this->container->get($this->drupalProxyOriginalServiceId);
  55. }
  56. return $this->service;
  57. }
  58. /**
  59. * {@inheritdoc}
  60. */
  61. public function showMessage($output, $message, $type = 'info') {
  62. return $this->lazyLoadItself()->showMessage($output, $message, $type);
  63. }
  64. /**
  65. * {@inheritdoc}
  66. */
  67. public function ignoreValidationErrors() {
  68. return $this->lazyLoadItself()->ignoreValidationErrors();
  69. }
  70. /**
  71. * {@inheritdoc}
  72. */
  73. public function setApplication(\Symfony\Component\Console\Application $application = NULL) {
  74. return $this->lazyLoadItself()->setApplication($application);
  75. }
  76. /**
  77. * {@inheritdoc}
  78. */
  79. public function setHelperSet(\Symfony\Component\Console\Helper\HelperSet $helperSet) {
  80. return $this->lazyLoadItself()->setHelperSet($helperSet);
  81. }
  82. /**
  83. * {@inheritdoc}
  84. */
  85. public function getHelperSet() {
  86. return $this->lazyLoadItself()->getHelperSet();
  87. }
  88. /**
  89. * {@inheritdoc}
  90. */
  91. public function getApplication() {
  92. return $this->lazyLoadItself()->getApplication();
  93. }
  94. /**
  95. * {@inheritdoc}
  96. */
  97. public function isEnabled() {
  98. return $this->lazyLoadItself()->isEnabled();
  99. }
  100. /**
  101. * {@inheritdoc}
  102. */
  103. public function run(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output) {
  104. return $this->lazyLoadItself()->run($input, $output);
  105. }
  106. /**
  107. * {@inheritdoc}
  108. */
  109. public function setCode(callable $code) {
  110. return $this->lazyLoadItself()->setCode($code);
  111. }
  112. /**
  113. * {@inheritdoc}
  114. */
  115. public function mergeApplicationDefinition($mergeArgs = TRUE) {
  116. return $this->lazyLoadItself()->mergeApplicationDefinition($mergeArgs);
  117. }
  118. /**
  119. * {@inheritdoc}
  120. */
  121. public function setDefinition($definition) {
  122. return $this->lazyLoadItself()->setDefinition($definition);
  123. }
  124. /**
  125. * {@inheritdoc}
  126. */
  127. public function getDefinition() {
  128. return $this->lazyLoadItself()->getDefinition();
  129. }
  130. /**
  131. * {@inheritdoc}
  132. */
  133. public function getNativeDefinition() {
  134. return $this->lazyLoadItself()->getNativeDefinition();
  135. }
  136. /**
  137. * {@inheritdoc}
  138. */
  139. public function addArgument($name, $mode = NULL, $description = '', $default = NULL) {
  140. return $this->lazyLoadItself()
  141. ->addArgument($name, $mode, $description, $default);
  142. }
  143. /**
  144. * {@inheritdoc}
  145. */
  146. public function addOption($name, $shortcut = NULL, $mode = NULL, $description = '', $default = NULL) {
  147. return $this->lazyLoadItself()
  148. ->addOption($name, $shortcut, $mode, $description, $default);
  149. }
  150. /**
  151. * {@inheritdoc}
  152. */
  153. public function setName($name) {
  154. return $this->lazyLoadItself()->setName($name);
  155. }
  156. /**
  157. * {@inheritdoc}
  158. */
  159. public function setProcessTitle($title) {
  160. return $this->lazyLoadItself()->setProcessTitle($title);
  161. }
  162. /**
  163. * {@inheritdoc}
  164. */
  165. public function getName() {
  166. return $this->lazyLoadItself()->getName();
  167. }
  168. /**
  169. * {@inheritdoc}
  170. */
  171. public function setHidden($hidden) {
  172. return $this->lazyLoadItself()->setHidden($hidden);
  173. }
  174. /**
  175. * {@inheritdoc}
  176. */
  177. public function isHidden() {
  178. return $this->lazyLoadItself()->isHidden();
  179. }
  180. /**
  181. * {@inheritdoc}
  182. */
  183. public function setDescription($description) {
  184. return $this->lazyLoadItself()->setDescription($description);
  185. }
  186. /**
  187. * {@inheritdoc}
  188. */
  189. public function getDescription() {
  190. return $this->lazyLoadItself()->getDescription();
  191. }
  192. /**
  193. * {@inheritdoc}
  194. */
  195. public function setHelp($help) {
  196. return $this->lazyLoadItself()->setHelp($help);
  197. }
  198. /**
  199. * {@inheritdoc}
  200. */
  201. public function getHelp() {
  202. return $this->lazyLoadItself()->getHelp();
  203. }
  204. /**
  205. * {@inheritdoc}
  206. */
  207. public function getProcessedHelp() {
  208. return $this->lazyLoadItself()->getProcessedHelp();
  209. }
  210. /**
  211. * {@inheritdoc}
  212. */
  213. public function setAliases($aliases) {
  214. return $this->lazyLoadItself()->setAliases($aliases);
  215. }
  216. /**
  217. * {@inheritdoc}
  218. */
  219. public function getAliases() {
  220. return $this->lazyLoadItself()->getAliases();
  221. }
  222. /**
  223. * {@inheritdoc}
  224. */
  225. public function getSynopsis($short = FALSE) {
  226. return $this->lazyLoadItself()->getSynopsis($short);
  227. }
  228. /**
  229. * {@inheritdoc}
  230. */
  231. public function addUsage($usage) {
  232. return $this->lazyLoadItself()->addUsage($usage);
  233. }
  234. /**
  235. * {@inheritdoc}
  236. */
  237. public function getUsages() {
  238. return $this->lazyLoadItself()->getUsages();
  239. }
  240. /**
  241. * {@inheritdoc}
  242. */
  243. public function getHelper($name) {
  244. return $this->lazyLoadItself()->getHelper($name);
  245. }
  246. /**
  247. * {@inheritdoc}
  248. */
  249. public function setContainer($container) {
  250. return $this->lazyLoadItself()->setContainer($container);
  251. }
  252. /**
  253. * {@inheritdoc}
  254. */
  255. public function has($key) {
  256. return $this->lazyLoadItself()->has($key);
  257. }
  258. /**
  259. * {@inheritdoc}
  260. */
  261. public function get($key) {
  262. return $this->lazyLoadItself()->get($key);
  263. }
  264. /**
  265. * {@inheritdoc}
  266. */
  267. public function setTranslator($translator) {
  268. return $this->lazyLoadItself()->setTranslator($translator);
  269. }
  270. /**
  271. * {@inheritdoc}
  272. */
  273. public function trans($key) {
  274. return $this->lazyLoadItself()->trans($key);
  275. }
  276. }
  277. }