Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/code/Cnc/SerialNumber/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/old/app/code/Cnc/SerialNumber/etc/di.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright (c) 2020 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved.
 * https://opensource.org/licenses/OSL-3.0  Open Software License (OSL 3.0)
 * Krzysztof Majkowski <[email protected]>
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <virtualType name="DataProvider" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
        <arguments>
            <argument name="resourceModel" xsi:type="string">
                Cnc\SerialNumber\Model\ResourceModel\SerialNumber\Collection
            </argument>
            <argument name="mainTable" xsi:type="string">cnc_serial_number</argument>
        </arguments>
    </virtualType>
    <type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
        <arguments>
            <argument xsi:type="array">
                <item xsi:type="string" name="serial_number_grid_data_source">DataProvider</item>
            </argument>
        </arguments>
    </type>

    <preference for="Cnc\SerialNumber\Api\IsSerialNumberEnabledForProductInterface" type="Cnc\SerialNumber\Model\IsSerialNumberEnabledForProduct" />
    <preference for="Cnc\SerialNumber\Api\Data\SerialNumberInterface" type="Cnc\SerialNumber\Model\SerialNumber" />
    <preference for="Cnc\SerialNumber\Api\SerialNumberRepositoryInterface"
                type="Cnc\SerialNumber\Model\SerialNumberRepository" />
    <preference for="Cnc\SerialNumber\Api\Data\SerialNumberSearchResultsInterface"
                type="Cnc\SerialNumber\Model\SerialNumberSearchResults" />
    <type name="Magento\Framework\Console\CommandListInterface">
        <arguments>
            <argument name="commands" xsi:type="array">
                <item name="cnc_serialnumber_import_vhs" xsi:type="object">Cnc\SerialNumber\Console\ImportVhs</item>
                <item name="cnc_serialnumber_import_serial_number" xsi:type="object">Cnc\SerialNumber\Console\ImportSerialNumber</item>
                <item name="cnc_serialnumber_perform_serial_number_order_updates" xsi:type="object">Cnc\SerialNumber\Console\Command\PerformSerialNumberOrderUpdates</item>
            </argument>
        </arguments>
    </type>
</config>

Spamworldpro Mini