private function sendSms(Notification $notification) { if (!$notification->getSmsMessage()) { return FALSE; } $phone = str_replace(['(', ')', '-', ' '], '', $notification->getCustomer()->getPhoneNumber()); $answer = $this->_uniSenderApiWrapper->sendSms(['phone' => $phone, 'sender' => $this->phoneParameters['alpha_name'], 'text' => $notification->getSmsMessage()]); return $answer; }