Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

UnsupportedKeywordException.php

Namespace

SlevomatCodingStandard\Sniffs\ControlStructures

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/UnsupportedKeywordException.php

View source
<?php

declare (strict_types=1);
namespace SlevomatCodingStandard\Sniffs\ControlStructures;

use Exception;
use Throwable;
use function sprintf;
class UnsupportedKeywordException extends Exception {
    public function __construct(string $keyword, ?Throwable $previous = null) {
        parent::__construct(sprintf('"%s" is not supported.', $keyword), 0, $previous);
    }

}

Classes

Title Deprecated Summary
UnsupportedKeywordException
RSS feed
Powered by Drupal