public function CasHelper::__construct in CAS 2.x
Same name and namespace in other branches
- 8 src/Service/CasHelper.php \Drupal\cas\Service\CasHelper::__construct()
Constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger channel factory.
\Drupal\Core\Utility\Token $token: The token service.
File
- src/
Service/ CasHelper.php, line 153
Class
- CasHelper
- Utility and helper methods.
Namespace
Drupal\cas\ServiceCode
public function __construct(ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory, Token $token) {
$this->settings = $config_factory
->get('cas.settings');
$this->loggerChannel = $logger_factory
->get('cas');
$this->token = $token;
}