Reader
class Reader
CSS selector reader.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
Methods
Details
__construct(string $source)
Parameters
bool
isEOF()
Return Value
int
getPosition()
Return Value
int
getRemainingLength()
Return Value
string
getSubstring(int $length, int $offset = 0)
Parameters
Return Value
getOffset(string $string)
Parameters
array|false
findPattern(string $pattern)
Parameters
Return Value
moveForward(int $length)
Parameters
moveToEnd()