You are here

public static function RateLimitPluginManager::create in RESTful 7.2

RateLimitPluginManager factory method.

Parameters

string $bin: The cache bin for the plugin manager.

Return value

RateLimitPluginManager The created manager.

1 call to RateLimitPluginManager::create()
RateLimitManager::__construct in src/RateLimit/RateLimitManager.php
Constructor for RateLimitManager.

File

src/Plugin/RateLimitPluginManager.php, line 39
Contains \Drupal\restful\Plugin\RateLimitPluginManager.

Class

RateLimitPluginManager

Namespace

Drupal\restful\Plugin

Code

public static function create($bin = 'cache') {
  return new static(Module::getNamespaces(), _cache_get_object($bin));
}