Exemplo n.º 1
0
 public function freq($frequency)
 {
     if (Valid::freq($frequency)) {
         $this->freq = strtolower($frequency);
         return $this;
     }
     throw new \InvalidArgumentException("freq: Accepts " . rtrim(implode(Valid::$frequencies, ", "), ","));
 }