/** * {@inheritDoc} */ public function send(Verification $verification) { $result = $this->telesign->verify($verification->getMsisdn(), $verification->getCode()); if (empty($result) || !empty($result['errors'])) { throw new GatewayFailureException(); } }