public static function Base::create in DRD Agent 4.0.x
Same name in this branch
- 4.0.x src/Agent/Action/Base.php \Drupal\drd_agent\Agent\Action\Base::create()
- 4.0.x src/Agent/Remote/Base.php \Drupal\drd_agent\Agent\Remote\Base::create()
- 4.0.x src/Agent/Auth/Base.php \Drupal\drd_agent\Agent\Auth\Base::create()
Same name and namespace in other branches
- 8.3 src/Agent/Auth/Base.php \Drupal\drd_agent\Agent\Auth\Base::create()
File
- src/
Agent/ Auth/ Base.php, line 54
Class
- Base
- Base class for Remote DRD Auth Methods.
Namespace
Drupal\drd_agent\Agent\AuthCode
public static function create(ContainerInterface $container) {
return new static($container
->get('current_user'), $container
->get('state'), $container
->get('user.auth'));
}