You are here

public function CasRouteEnhancer::__construct in CAS 8

Same name and namespace in other branches
  1. 2.x src/Routing/CasRouteEnhancer.php \Drupal\cas\Routing\CasRouteEnhancer::__construct()

Constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/Routing/CasRouteEnhancer.php, line 33

Class

CasRouteEnhancer
Class CasRouteEnhancer.

Namespace

Drupal\cas\Routing

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->settings = $config_factory
    ->get('cas.settings');
}