Controllers\Api\Statements::aggregateObject PHP Method

aggregateObject() public method

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