protected function isThrottled($conn, $setting)
    {
        $connectionThrottle = explode(':', config(sprintf('ratchet.throttle.%s', $setting)));

        return !Throttle::attempt(
            [
                'ip'    => $conn->remoteAddress,
                'route' => $setting,
            ],
            (int) $connectionThrottle[0],
            (int) $connectionThrottle[1]
        );
    }
protected function isThrottled($conn, $setting)
    {
        $connectionThrottle = explode(':', config(sprintf('ratchet.throttle.%s', $setting)));

        return !Throttle::attempt(
            [
                'ip'    => $conn->remoteAddress,
                'route' => $setting,
            ],
            (int) $connectionThrottle[0],
            (int) $connectionThrottle[1]
        );
    }
protected function isThrottled ( $ conn , $ setting ) { $ connectionThrottle = explode ( ':' , config ( sprintf ( 'ratchet.throttle.%s' , $ setting ) ) ) ; return ! Throttle :: attempt ( [ 'ip' => $ conn -> remoteAddress , 'route' => $ setting , ] , ( int ) $ connectionThrottle [ 0 ] , ( int ) $ connectionThrottle [ 1 ] ) ; }
Check if the called function is throttled.

@param [type] $conn    [description]
@param [type] $setting [description]

@return bool [description]
Check if the called function is throttled .