| 1 | <?php |
||
| 20 | class ConfigProvider implements ConfigProviderInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | private const XML_PATH_ORDER_EXPORT_ASYNC = 'sales/order_export/async_enabled'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var ScopeConfigInterface |
||
| 29 | */ |
||
| 30 | private $config; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * ConfigProvider constructor. |
||
| 34 | * @param ScopeConfigInterface $config |
||
| 35 | */ |
||
| 36 | public function __construct(ScopeConfigInterface $config) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return bool |
||
| 43 | */ |
||
| 44 | public function isExportAsync(): bool |
||
| 48 | } |