mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
- Update plugin version to 1.0.0 and bump dependency requirements (WP 6.3+, PHP 8.1+, WC 9.0+, WPGraphQL 2.0+) - Update README.md, README.txt, and docs with v1.0.0 features - Add building-a-woocommerce-admin-app.md documenting WC Settings API, product CRUD, product attribute management, and refund operations - Update settings.md with new v1.0.0 settings documentation - Update installation.md with version prerequisites - Remove obsolete toc.md (replaced by docs/README.md) - Update @since tags from TBD to 1.0.0
26 lines
538 B
PHP
26 lines
538 B
PHP
<?php
|
|
/**
|
|
* DataLoader - WC_Cart_Item_Loader
|
|
*
|
|
* Loads Models for WooCommerce Shipping Methods defined in custom DB tables.
|
|
*
|
|
* @package WPGraphQL\WooCommerce\Data\Loader
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
namespace WPGraphQL\WooCommerce\Data\Loader;
|
|
|
|
/**
|
|
* Class WC_Cart_Item_Loader
|
|
*/
|
|
class WC_Cart_Item_Loader extends WC_Db_Loader {
|
|
/**
|
|
* WC_Cart_Item_Loader constructor
|
|
*
|
|
* @param \WPGraphQL\AppContext $context AppContext instance.
|
|
*/
|
|
public function __construct( $context ) {
|
|
parent::__construct( $context, 'CART_ITEM' );
|
|
}
|
|
}
|