Copied!

CSS selector reader.

This component is a port of the Python cssselect library,
which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.

CloneableInstantiable
Methods
public __construct(string $source)
public findPattern(string $pattern) : array|false
public getOffset(string $string) : int|bool
 
  • return int|false
public getPosition() : int
public getRemainingLength() : int
public getSubstring(int $length, int $offset = 0) : string
public isEOF() : bool
public moveForward(int $length) : void
public moveToEnd() : void
Properties
private int $length
private int $position = 0
private string $source
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration