Enter a type and click search.




Results for Magento\Framework\App\ResourceConnection

File: vendor/magento/magento2-base/app/etc/di.xml

<type name="Magento\Framework\App\ResourceConnection">
    <arguments>
        <argument name="connectionFactory" xsi:type="object">
            Magento\Framework\App\ResourceConnection\ConnectionFactory
        </argument>
    </arguments>
</type>

This is a type configuration.

This configuration is the application level configuration (`app/etc/di.xml`) fo the object manager. It is not a part of a specific module, but will apply to all sub-applications in Magento 2 (cart, admin, api, cron, etc).

This configuration tells the Object Manager that when a user wants a Magento\Framework\App\ResourceConnection object that the following arguments should be used in the foo object's constructor.

Results for Magento\Framework\App\ResourceConnection

File: vendor/magento/module-catalog/etc/frontend/di.xml

<type name="Magento\Framework\App\ResourceConnection">
    <plugin name="get_catalog_category_product_index_table_name"
            type="Magento\Catalog\Model\Indexer\Category\Product\Plugin\TableResolver"></plugin>
    <plugin name="get_catalog_product_price_index_table_name"
            type="Magento\Catalog\Model\Indexer\Product\Price\Plugin\TableResolver"></plugin>
</type>

This is a type configuration.

This configuration is for the frontend area. This is the area that corresponds with the cart sub-application.

This configuration also tells the object manager to use the plugin class with Magento\Framework\App\ResourceConnection objects.

Results for Magento\Framework\App\ResourceConnection

File: vendor/magento/module-catalog/etc/webapi_soap/di.xml

<type name="Magento\Framework\App\ResourceConnection">
    <plugin name="get_catalog_category_product_index_table_name"
            type="Magento\Catalog\Model\Indexer\Category\Product\Plugin\TableResolver"></plugin>
    <plugin name="get_catalog_product_price_index_table_name"
            type="Magento\Catalog\Model\Indexer\Product\Price\Plugin\TableResolver"></plugin>
</type>

This is a type configuration.

This configuration is for the webapi_soap area. This is the area that corresponds with the SOAP Api sub-application.

This configuration also tells the object manager to use the plugin class with Magento\Framework\App\ResourceConnection objects.

Results for Magento\Framework\App\ResourceConnection

File: vendor/magento/module-catalog/etc/webapi_rest/di.xml

<type name="Magento\Framework\App\ResourceConnection">
    <plugin name="get_catalog_category_product_index_table_name"
            type="Magento\Catalog\Model\Indexer\Category\Product\Plugin\TableResolver"></plugin>
    <plugin name="get_catalog_product_price_index_table_name"
            type="Magento\Catalog\Model\Indexer\Product\Price\Plugin\TableResolver"></plugin>
</type>

This is a type configuration.

This configuration is for the webapi_rest area. This is the area that corresponds with the REST Api sub-application.

This configuration also tells the object manager to use the plugin class with Magento\Framework\App\ResourceConnection objects.