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

Breadcrumb

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

function Reader::getSubstring

File

vendor/symfony/css-selector/Parser/Reader.php, line 50

Class

Reader
CSS selector reader.

Namespace

Symfony\Component\CssSelector\Parser

Code

public function getSubstring(int $length, int $offset = 0) : string {
    return substr($this->source, $this->position + $offset, $length);
}

API Navigation

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