public function send(MessageInterface $message)
    {
        if (!$message instanceof BlackberryMessage) {
            throw new InvalidMessageTypeException(sprintf("Message type '%s' not supported by Blackberry", get_class($message)));
        }

        return $this->doSend($message);
    }
public function send(MessageInterface $message)
    {
        if (!$message instanceof BlackberryMessage) {
            throw new InvalidMessageTypeException(sprintf("Message type '%s' not supported by Blackberry", get_class($message)));
        }

        return $this->doSend($message);
    }
public function send ( MessageInterface $ message ) { if ( ! $ message instanceof BlackberryMessage ) { throw new InvalidMessageTypeException ( sprintf ( "Message type '%s' not supported by Blackberry" , get_class ( $ message ) ) ) ; } return $ this -> doSend ( $ message ) ; }
Sends a Blackberry Push message

@param  \RMS\PushNotificationsBundle\Message\MessageInterface              $message
@throws \RMS\PushNotificationsBundle\Exception\InvalidMessageTypeException
@return bool
Sends a Blackberry Push message