protected function noEmergencyWithoutRetryOrExpire($priority, $retry, $expire)
    {
        if ($priority == self::EMERGENCY_PRIORITY && (! isset($retry) || ! isset($expire))) {
            throw new EmergencyNotificationRequiresRetryAndExpire();
        }
    }
protected function noEmergencyWithoutRetryOrExpire($priority, $retry, $expire)
    {
        if ($priority == self::EMERGENCY_PRIORITY && (! isset($retry) || ! isset($expire))) {
            throw new EmergencyNotificationRequiresRetryAndExpire();
        }
    }
protected function noEmergencyWithoutRetryOrExpire ( $ priority , $ retry , $ expire ) { if ( $ priority == self :: EMERGENCY_PRIORITY && ( ! isset ( $ retry ) || ! isset ( $ expire ) ) ) { throw new EmergencyNotificationRequiresRetryAndExpire ( ) ; } }
Ensure an emergency message has an retry and expiry time.

@param  int  $priority
@param  int  $retry
@param  int  $expire
@throws EmergencyNotificationRequiresRetryAndExpire
Ensure an emergency message has an retry and expiry time .