public function setThrottle($throttle)
    {
        if (\is_string($throttle)) {
            $throttle = $this->container->make($throttle);
        }

        $this->throttle = $throttle;
    }
public function setThrottle($throttle)
    {
        if (\is_string($throttle)) {
            $throttle = $this->container->make($throttle);
        }

        $this->throttle = $throttle;
    }
public function setThrottle ( $ throttle ) { if ( \ is_string ( $ throttle ) ) { $ throttle = $ this -> container -> make ( $ throttle ) ; } $ this -> throttle = $ throttle ; }
Set the throttle to use for rate limiting.

@param string|\Dingo\Api\Contract\Http\RateLimit\Throttle $throttle

@return void
Set the throttle to use for rate limiting .