You are here

public function CaptchaImageGeneratorController::__construct in CAPTCHA 8

File

image_captcha/src/Controller/CaptchaImageGeneratorController.php, line 57

Class

CaptchaImageGeneratorController
Controller which generates the image from defined settings.

Namespace

Drupal\image_captcha\Controller

Code

public function __construct(Config $config, LoggerInterface $logger, KillSwitch $kill_switch, Connection $connection, FileSystemInterface $file_system) {
  $this->config = $config;
  $this->logger = $logger;
  $this->killSwitch = $kill_switch;
  $this->connection = $connection;
  $this->fileSystem = $file_system;
}