RMS\PushNotificationsBundle\Service\OS\BlackberryNotification::send PHP Method

send() public method

Sends a Blackberry Push message
public send ( RMS\PushNotificationsBundle\Message\MessageInterface $message ) : boolean
$message RMS\PushNotificationsBundle\Message\MessageInterface
return boolean
    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);
    }