\Core\Repositories\AdminStatisticsRepository

StatisticsRepository 数据统计仓库

Summary

Methods
Properties
Constants
__get()
getBusinessContainerInstance()
getServiceInstance()
getFlowData()
getTimeRangeDay()
getTimeRangeHour()
getRegionData()
$statisticsService
No constants found
No protected methods found
$container
$businessContainerKey
N/A
No private methods found
No private properties found
N/A

Properties

$statisticsService

$statisticsService : \Core\Services\StatisticsService

Type

\Core\Services\StatisticsService

$container

$container : \Psr\Container\ContainerInterface

Type

\Psr\Container\ContainerInterface

$businessContainerKey

$businessContainerKey : 

Created by PhpStorm.

可以实现自动注入的业务容器 User:YM Date:2020/1/12 Time:上午8:18

Type

Methods

__get()

__get(  $key) : \Psr\Container\ContainerInterface|void

__get 隐式注入服务类 User:YM Date:2019/11/21 Time:上午9:27

Parameters

$key

Returns

\Psr\Container\ContainerInterface|void

getBusinessContainerInstance()

getBusinessContainerInstance(  $key) : mixed

getBusinessContainerInstance 获取业务容器实例 User:YM Date:2020/1/12 Time:上午8:15

Parameters

$key

Returns

mixed

getServiceInstance()

getServiceInstance(  $key) : mixed

getServiceInstance 获取服务类实例 User:YM Date:2019/11/21 Time:上午10:30

Parameters

$key

Returns

mixed

getFlowData()

getFlowData(  $inputData) : array

getFlowData 统计流量 User:YM Date:2020/2/18 Time:下午9:14

Parameters

$inputData

Returns

array

getTimeRangeDay()

getTimeRangeDay(  $startTime,   $endTime) : array

getTimeRangeDay 获取天日期 User:YM Date:2020/2/18 Time:下午9:15

Parameters

$startTime
$endTime

Returns

array

getTimeRangeHour()

getTimeRangeHour(  $startTime,   $endTime) : array

getTimeRangeHour 获取小时日期 User:YM Date:2020/2/18 Time:下午9:15

Parameters

$startTime
$endTime

Returns

array

getRegionData()

getRegionData(  $inputData) : array

getRegionData 请求地域 User:YM Date:2020/2/19 Time:下午9:11

Parameters

$inputData

Returns

array