src/concrete/Telco.php
public function send($recipient, $message)
    {
        try {
            return $this->gateway->sendMessage($recipient, $message);
        } catch (AfricasTalkingGatewayException $e) {
            echo "Encountered an error while sending: " . $e->getMessage();
        }
    }
public function send($recipient, $message)
    {
        try {
            return $this->gateway->sendMessage($recipient, $message);
        } catch (AfricasTalkingGatewayException $e) {
            echo "Encountered an error while sending: " . $e->getMessage();
        }
    }
public function send ( $ recipient , $ message ) { try { return $ this -> gateway -> sendMessage ( $ recipient , $ message ) ; } catch ( AfricasTalkingGatewayException $ e ) { echo "Encountered an error while sending: " . $ e -> getMessage ( ) ; } }
Method to send a message
@param $recipient
@param $message
@return array
Method to send a message