function Update10101::create
Same name and namespace in other branches
- 11.x core/modules/pgsql/src/Update10101.php \Drupal\pgsql\Update10101::create()
Instantiates a new instance of this class.
This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container this instance should use.
Overrides ContainerInjectionInterface::create
File
-
core/
modules/ pgsql/ src/ Update10101.php, line 52
Class
- Update10101
- An update class for sequence ownership.
Namespace
Drupal\pgsqlCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager'), $container->get('entity.last_installed_schema.repository'), $container->get('database'), $container->get('extension.list.module'), $container->get('module_handler'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.