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

Breadcrumb

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

function ReverseEmulator::isEmulationNeeded

Overrides TokenEmulator::isEmulationNeeded

File

vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReverseEmulator.php, line 22

Class

ReverseEmulator
Reverses emulation direction of the inner emulator.

Namespace

PhpParser\Lexer\TokenEmulator

Code

public function isEmulationNeeded(string $code) : bool {
    return $this->emulator
        ->isEmulationNeeded($code);
}

API Navigation

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