public function CasLogout::__construct in CAS 8
Same name and namespace in other branches
- 2.x src/Service/CasLogout.php \Drupal\cas\Service\CasLogout::__construct()
CasLogout constructor.
Parameters
\Drupal\cas\Service\CasHelper $cas_helper: The CAS helper.
\Drupal\Core\Database\Connection $database_connection: The database connection.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- src/
Service/ CasLogout.php, line 46
Class
- CasLogout
- Class CasLogout.
Namespace
Drupal\cas\ServiceCode
public function __construct(CasHelper $cas_helper, Connection $database_connection, ConfigFactoryInterface $config_factory) {
$this->casHelper = $cas_helper;
$this->connection = $database_connection;
$this->settings = $config_factory
->get('cas.settings');
}