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

Breadcrumb

  1. Drupal Core 11.1.x
  2. TokenPointerOutOfBoundsException.php

function TokenPointerOutOfBoundsException::__construct

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/TokenPointerOutOfBoundsException.php, line 21

Class

TokenPointerOutOfBoundsException
@internal

Namespace

SlevomatCodingStandard\Helpers

Code

public function __construct(int $pointer, int $lastTokenPointer, ?Throwable $previous = null) {
    parent::__construct(sprintf('Attempted access to token pointer %d, last token pointer is %d', $pointer, $lastTokenPointer), 0, $previous);
    $this->pointer = $pointer;
    $this->lastTokenPointer = $lastTokenPointer;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal