You are here

public function Reader::getSubstring in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Parser/Reader.php \Symfony\Component\CssSelector\Parser\Reader::getSubstring()

Parameters

int $length:

int $offset:

Return value

string

File

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

Class

Reader
CSS selector reader.

Namespace

Symfony\Component\CssSelector\Parser

Code

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