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

Breadcrumb

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

function Token::offsetUnset

Deprecated

no replacement planned

File

vendor/doctrine/lexer/src/Token.php, line 134

Class

Token
@template T of UnitEnum|string|int @template V of string|int @implements ArrayAccess<string,mixed>

Namespace

Doctrine\Common\Lexer

Code

public function offsetUnset($offset) : void {
    Deprecation::trigger('doctrine/lexer', 'https://github.com/doctrine/lexer/pull/79', 'Setting %s properties via ArrayAccess is deprecated', self::class);
    $this->{$offset} = null;
}

API Navigation

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