You are here

public static function ResourcePluginManager::create in RESTful 7.2

ResourcePluginManager factory method.

Parameters

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

RequestInterface $request: The request object.

Return value

ResourcePluginManager The created manager.

1 call to ResourcePluginManager::create()
ResourceManager::__construct in src/Resource/ResourceManager.php
Constructor for ResourceManager.

File

src/Plugin/ResourcePluginManager.php, line 53
Contains \Drupal\restful\Plugin\ResourcePluginManager.

Class

ResourcePluginManager

Namespace

Drupal\restful\Plugin

Code

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