for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Elastica\Aggregation;
class Composite extends AbstractAggregation
{
/**
* @return $this
*/
public function setSize(int $size): self
return $this->setParam('size', $size);
}
public function addSource(AbstractAggregation $aggregation): self
return $this->addParam('sources', [$aggregation]);
public function addAfter(?array $checkpoint): self
return $this->setParam('after', $checkpoint);