public function Add(ReportCommandBuilder $builder) { if ($this->range != self::ALL_TIME) { $builder->Within($this->start, $this->end); } }
private function LimitToMonth(ReportCommandBuilder $builder) { $builder->Within($this->monthRange->Start(), $this->monthRange->End()); return $builder; }