protected function getRatelimitBucket(string $endpoint) {
        if(empty($this->ratelimits[$endpoint])) {
            $bucket = $this->bucketName;
            $this->ratelimits[$endpoint] = new $bucket($this, $endpoint);
        }
        
        return $this->ratelimits[$endpoint];
    }
protected function getRatelimitBucket(string $endpoint) {
        if(empty($this->ratelimits[$endpoint])) {
            $bucket = $this->bucketName;
            $this->ratelimits[$endpoint] = new $bucket($this, $endpoint);
        }
        
        return $this->ratelimits[$endpoint];
    }
protected function getRatelimitBucket ( string $ endpoint ) { if ( empty ( $ this -> ratelimits [ $ endpoint ] ) ) { $ bucket = $ this -> bucketName ; $ this -> ratelimits [ $ endpoint ] = new $ bucket ( $ this , $ endpoint ) ; } return $ this -> ratelimits [ $ endpoint ] ; }
Gets the ratelimit bucket for the specific endpoint.
@param string $endpoint
@return \CharlotteDunois\Yasmin\Interfaces\RatelimitBucketInterface
Gets the ratelimit bucket for the specific endpoint .