SlevomatCodingStandard\Sniffs\Namespaces\UndefinedKeywordTokenException::__construct PHP Method

__construct() public method

public __construct ( string $keyword, Exception $previous = null )
$keyword string
$previous Exception
    public function __construct($keyword, \Exception $previous = null)
    {
        parent::__construct(sprintf('Value for keyword token not found, constant "%s" is not defined', $keyword), 0, $previous);
        $this->keyword = $keyword;
    }
UndefinedKeywordTokenException