public function setTo($to) { if (!Validator::validateEmailUsingJakubVrana($to)) { throw new IllegalArgumentException('Neplatná E-mailová adresa.'); } $this->to = $to; return $this; }
public function setTo($to) { if (!Validator::validateEmailUsingJakubVrana($to)) { throw new IllegalArgumentException('Neplatná E-mailová adresa.'); } $this->to = $to; return $this; }