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

Breadcrumb

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

function Wizard::lookup

File

vendor/sebastian/code-unit-reverse-lookup/src/Wizard.php, line 41

Class

Wizard

Namespace

SebastianBergmann\CodeUnitReverseLookup

Code

public function lookup(string $filename, int $lineNumber) : string {
    if (!isset($this->lookupTable[$filename][$lineNumber])) {
        $this->updateLookupTable();
    }
    if (isset($this->lookupTable[$filename][$lineNumber])) {
        return $this->lookupTable[$filename][$lineNumber];
    }
    return $filename . ':' . $lineNumber;
}

API Navigation

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