25 lines
475 B
PHP
25 lines
475 B
PHP
<?php
|
|
/**
|
|
* @package Plumrocket_Base
|
|
* @copyright Copyright (c) 2020 Plumrocket Inc. (https://plumrocket.com)
|
|
* @license https://plumrocket.com/license End-user License Agreement
|
|
*/
|
|
|
|
namespace Plumrocket\Base\Api;
|
|
|
|
/**
|
|
* Collect usage statistic from all the modules that give it
|
|
*
|
|
* @since 2.3.0
|
|
*/
|
|
interface UsageStatisticCollectorInterface
|
|
{
|
|
|
|
/**
|
|
* Collect statistic.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function collect(): array;
|
|
}
|