public static function EntityconnectCache::create in Entity connect 8.2
Uses Symfony's ContainerInterface to declare dependency for constructor.
File
- src/
EntityconnectCache.php, line 65
Class
- EntityconnectCache
- A custom class for managing the Entityconnect cache.
Namespace
Drupal\entityconnectCode
public static function create(ContainerInterface $container) {
return new static($container
->get('tempstore.private'), $container
->get('session_manager'), $container
->get('current_user'));
}