PHP Class PartKeepr\StatisticBundle\Controller\StatisticController

Inheritance: extends FOS\RestBundle\Controller\FOSRestController
Exibir arquivo Open project: partkeepr/PartKeepr

Public Methods

Method Description
getCurrentStatisticAction ( ) : array Returns the current system statistics.
getSampledStatisticAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array Returns the sampled statistics for a given period.
getStatisticRangeAction ( ) : array Returns the range in which statistics are available.

Method Details

getCurrentStatisticAction() public method

Returns the current system statistics.
public getCurrentStatisticAction ( ) : array
return array

getSampledStatisticAction() public method

Returns the sampled statistics for a given period.
public getSampledStatisticAction ( FOS\RestBundle\Request\ParamFetcher $paramFetcher ) : array
$paramFetcher FOS\RestBundle\Request\ParamFetcher
return array

getStatisticRangeAction() public method

Returns the range in which statistics are available.
public getStatisticRangeAction ( ) : array
return array