| @@ 220-232 (lines=13) @@ | ||
| 217 | /** |
|
| 218 | * @return string |
|
| 219 | */ |
|
| 220 | public function __toString() |
|
| 221 | { |
|
| 222 | $str = $this->email; |
|
| 223 | $days = array(); |
|
| 224 | if ($this->saturday) { |
|
| 225 | $days[] = 'SA'; |
|
| 226 | } |
|
| 227 | if ($this->sunday) { |
|
| 228 | $days[] = 'SU'; |
|
| 229 | } |
|
| 230 | $str .= ' (' . join('+', $days) . ')'; |
|
| 231 | return $str; |
|
| 232 | } |
|
| 233 | ||
| 234 | /** |
|
| 235 | * @return boolean |
|
| @@ 152-163 (lines=12) @@ | ||
| 149 | /** |
|
| 150 | * @return string |
|
| 151 | */ |
|
| 152 | public function __toString() |
|
| 153 | { |
|
| 154 | $str = $this->email; |
|
| 155 | $days = array(); |
|
| 156 | if ($this->day === static::DAY_SATURDAY) { |
|
| 157 | $days[] = 'SA'; |
|
| 158 | } else { |
|
| 159 | $days[] = 'SU'; |
|
| 160 | } |
|
| 161 | $str .= ' (' . join('+', $days) . ')'; |
|
| 162 | return $str; |
|
| 163 | } |
|
| 164 | ||
| 165 | /** |
|
| 166 | * @return bool |
|
| @@ 132-144 (lines=13) @@ | ||
| 129 | /** |
|
| 130 | * @return string |
|
| 131 | */ |
|
| 132 | public function __toString() |
|
| 133 | { |
|
| 134 | $str = $this->email; |
|
| 135 | $days = array(); |
|
| 136 | if ($this->saturday) { |
|
| 137 | $days[] = 'SA'; |
|
| 138 | } |
|
| 139 | if ($this->sunday) { |
|
| 140 | $days[] = 'SU'; |
|
| 141 | } |
|
| 142 | $str .= ' (' . join('+', $days) . ')'; |
|
| 143 | return $str; |
|
| 144 | } |
|
| 145 | ||
| 146 | /** |
|
| 147 | * @return boolean |
|