1 | <?php |
||
33 | class ExecutionContext implements ExecutionContextConfigurationInterface |
||
34 | { |
||
35 | |||
36 | /** |
||
37 | * The Magento Edition to use in the actual execution context. |
||
38 | * |
||
39 | * @var string |
||
40 | */ |
||
41 | private $magentoEdition; |
||
42 | |||
43 | /** |
||
44 | * The Entity Type Code to use in the actual execution context. |
||
45 | * |
||
46 | * @var string |
||
47 | */ |
||
48 | private $entityTypeCode; |
||
49 | |||
50 | /** |
||
51 | * Initialize the instance with the actual context data. |
||
52 | * |
||
53 | * @param string $magentoEdition The Magento Edition to use in the actual execution context |
||
54 | * @param string $entityTypeCode The Entity Type Code to use in the actual execution context |
||
55 | */ |
||
56 | public function __construct($magentoEdition, $entityTypeCode) |
||
61 | |||
62 | /** |
||
63 | * Return's the Magento Edition to use in the actual execution context. |
||
64 | * |
||
65 | * @return string The Magento Edition |
||
66 | */ |
||
67 | public function getMagentoEditiion() |
||
71 | |||
72 | /** |
||
73 | * Return's the Entity Type Code to use in the actual execution context. |
||
74 | * |
||
75 | * @return string The Entity Type |
||
76 | */ |
||
77 | public function getEntityTypeCode() |
||
81 | } |
||
82 | |||
83 |