You are here

public function BakeryService::__construct in Bakery Single Sign-On System 8.2

When the service is created, set a value for the example variable.

File

src/BakeryService.php, line 39
Services used in bakery SSO functions.

Class

BakeryService
Common functionalities used in both controller and module.

Namespace

Drupal\bakery

Code

public function __construct(ConfigFactoryInterface $configFactory, Kitchen $kitchen) {
  $this->config = $configFactory
    ->get('bakery.settings');
  $this->kitchen = $kitchen;
}