You are here

public function CaptchaImageResponse::__construct in CAPTCHA 8

File

image_captcha/src/Response/CaptchaImageResponse.php, line 59

Class

CaptchaImageResponse
Response which is returned as the captcha for image_captcha.

Namespace

Drupal\image_captcha\Response

Code

public function __construct(Config $config, LoggerInterface $logger, Connection $connection, FileSystemInterface $fileSystem, $callback = NULL, $status = 200, $headers = []) {
  parent::__construct(NULL, $status, $headers);
  $this->config = $config;
  $this->logger = $logger;
  $this->connection = $connection;
  $this->fileSystem = $fileSystem;
}