app/Notification.php
/**
     * notify all users
     *
     * @param array $notificationArray
     * @return bool
     */
notify all users
@param array $notificationArray
@return bool
notify all users @param array $notificationArray @return bool
public function notifyAllUsers(array $notificationArray)
    {
        try {
            $users = User::all()->pluck('id')->toArray();
        } catch (Exception $e) {
            return false;
        }
        return $this->_notifyUsers($notificationArray, $users);
    }
public function notifyAllUsers ( array $ notificationArray ) { try { $ users = User :: all ( ) -> pluck ( 'id' ) -> toArray ( ) ; } catch ( Exception $ e ) { return false ; } return $ this -> _notifyUsers ( $ notificationArray , $ users ) ; }
notify all users
 @param array $notificationArray
 @return bool
notify all users @param array $notificationArray @return bool