woocommerce/plugins/woocommerce-admin/includes/api/class-wc-admin-rest-reports...

34 lines
607 B
PHP
Raw Normal View History

<?php
/**
* REST API Reports downloads stats controller
*
* Handles requests to the /reports/downloads/stats endpoint.
*
2018-09-17 19:13:19 +00:00
* @package WooCommerce Admin/API
*/
defined( 'ABSPATH' ) || exit;
/**
* REST API Reports downloads stats controller class.
*
* @package WooCommerce/API
* @extends WC_REST_Reports_Controller
*/
2018-09-17 19:13:19 +00:00
class WC_Admin_REST_Reports_Downloads_Stats_Controller extends WC_REST_Reports_Controller {
/**
* Endpoint namespace.
*
* @var string
*/
protected $namespace = 'wc/v3';
/**
* Route base.
*
* @var string
*/
protected $rest_base = 'reports/downloads/stats';
}