public static function SamlController::create in SAML Authentication 8
Same name and namespace in other branches
- 8.3 src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::create()
- 8.2 src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::create()
- 4.x src/Controller/SamlController.php \Drupal\samlauth\Controller\SamlController::create()
Factory method for dependency injection container.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
Return value
static
Overrides ControllerBase::create
File
- src/
Controller/ SamlController.php, line 52 - Contains Drupal\samlauth\Controller\SamlController.
Class
- SamlController
- Class SamlController.
Namespace
Drupal\samlauth\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container
->get('samlauth.saml'), $container
->get('samlauth.saml_user'));
}