protected function addByMonth(Rule $rule) { $byMonth = $rule->getByMonth(); if (empty($byMonth)) { return; } $this->addFragment($this->getByMonthAsText($byMonth)); }