Categories
4 weeks ago
Coupons
4 weeks ago
Customers
2 months ago
Downloads
1 year ago
Export
3 years ago
Import
3 years ago
Orders
4 weeks ago
PerformanceIndicators
9 months ago
Products
4 weeks ago
Revenue
3 months ago
Stock
4 months ago
Taxes
4 weeks ago
Variations
4 weeks ago
Cache.php
4 years ago
Controller.php
11 months ago
DataStore.php
4 weeks ago
DataStoreInterface.php
4 years ago
ExportableInterface.php
4 years ago
ExportableTraits.php
4 years ago
FilteredGetDataTrait.php
1 year ago
GenericController.php
1 year ago
GenericQuery.php
1 year ago
GenericStatsController.php
1 year ago
OrderAwareControllerTrait.php
1 year ago
ParameterException.php
4 years ago
Query.php
1 year ago
Segmenter.php
1 year ago
SqlQuery.php
3 years ago
StatsDataStoreTrait.php
1 year ago
TimeInterval.php
2 years ago
DataStoreInterface.php
27 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Reports Data Store Interface |
| 4 | */ |
| 5 | |
| 6 | namespace Automattic\WooCommerce\Admin\API\Reports; |
| 7 | |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit; |
| 10 | } |
| 11 | |
| 12 | /** |
| 13 | * WooCommerce Reports data store interface. |
| 14 | * |
| 15 | * @since 3.5.0 |
| 16 | */ |
| 17 | interface DataStoreInterface { |
| 18 | |
| 19 | /** |
| 20 | * Get the data based on args. |
| 21 | * |
| 22 | * @param array $args Query parameters. |
| 23 | * @return stdClass|WP_Error |
| 24 | */ |
| 25 | public function get_data( $args ); |
| 26 | } |
| 27 |