Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ConfigTesting.php
Go to the documentation of this file.
1 <?php
7 
11 
13 {
23  public function setRelations(RelationsInterface $relations)
24  {
25  return;
26  }
27 
37  {
38  return;
39  }
40 
48  public function getArguments($type)
49  {
50  return [];
51  }
52 
60  public function isShared($type)
61  {
62  return true;
63  }
64 
71  public function getInstanceType($instanceName)
72  {
73  return $instanceName;
74  }
75 
83  public function getPreference($type)
84  {
85  return $type;
86  }
87 
93  public function getVirtualTypes()
94  {
95  return [];
96  }
97 
105  public function extend(array $configuration)
106  {
107  return;
108  }
109 
115  public function getPreferences()
116  {
117  return [];
118  }
119 
127  public function setInterceptionConfig(\Magento\Framework\Interception\ConfigInterface $interceptionConfig)
128  {
129  return;
130  }
131 
139  public function getOriginalInstanceType($instanceName)
140  {
141  return '';
142  }
143 }
$configuration
Definition: index.php:33
$type
Definition: item.phtml:13
setInterceptionConfig(\Magento\Framework\Interception\ConfigInterface $interceptionConfig)