protected function getRecipients($notifiable, Notification $notification)
    {
        $to = $notifiable->routeNotificationFor('smscru', $notification);

        if ($to === null || $to === false || $to === '') {
            return [];
        }

        return \is_array($to) ? $to : [$to];
    }
protected function getRecipients($notifiable, Notification $notification)
    {
        $to = $notifiable->routeNotificationFor('smscru', $notification);

        if ($to === null || $to === false || $to === '') {
            return [];
        }

        return \is_array($to) ? $to : [$to];
    }
protected function getRecipients ( $ notifiable , Notification $ notification ) { $ to = $ notifiable -> routeNotificationFor ( 'smscru' , $ notification ) ; if ( $ to === null || $ to === false || $ to === '' ) { return [ ] ; } return \ is_array ( $ to ) ? $ to : [ $ to ] ; }
Gets a list of phones from the given notifiable.

@param  mixed  $notifiable
@param  Notification  $notification

@return string[]
Gets a list of phones from the given notifiable .