forked from magento/magento2-functional-testing-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfigInterface.php
53 lines (48 loc) · 1.01 KB
/
ConfigInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\FunctionalTestingFramework\ObjectManager;
/**
* Interface ConfigInterface
*/
interface ConfigInterface
{
/**
* Retrieve list of arguments per type
*
* @param string $type
* @return array
*/
public function getArguments($type);
/**
* Check whether type is shared
*
* @param string $type
* @return bool
*/
public function isShared($type);
/**
* Retrieve instance type
*
* @param string $instanceName
* @return string
*/
public function getInstanceType($instanceName);
/**
* Retrieve preference for type
*
* @param string $type
* @return string
* @throws \LogicException
*/
public function getPreference($type);
/**
* Extend configuration
*
* @param array $configuration
* @return void
*/
public function extend(array $configuration);
}