protected function setProperties(array $arguments) { if (isset($arguments[0])) { $this->phoneNumber = $arguments[0]; } if (isset($arguments[1])) { $this->message = $arguments[1]; } }