You are here

public function CaptchaFontPreviewStreamedResponse::__construct in CAPTCHA 8

File

image_captcha/src/StreamedResponse/CaptchaFontPreviewStreamedResponse.php, line 30

Class

CaptchaFontPreviewStreamedResponse
A Controller to preview the captcha font on the settings page.

Namespace

Drupal\image_captcha\StreamedResponse

Code

public function __construct(ImmutableConfig $config, $token, $callback = NULL, $status = 200, $headers = []) {
  parent::__construct(NULL, $status, $headers);
  $this->config = $config;
  $this->token = $token;
}