Controllers\Api\Statements::aggregateTime PHP Method

aggregateTime() public method

Aggregates by time.
public aggregateTime ( ) : Aggregate
return Aggregate http://php.net/manual/en/mongocollection.aggregate.php#refsect1-mongocollection.aggregate-examples
    public function aggregateTime()
    {
        $match = $this->getParam('match');
        return \Response::json($this->query->aggregateTime($this->getOptions(), $match));
    }