Classes to parse and sanitize CSS
Wikimedia\CSS\Parser\StringDataSource Class Reference

Read data for the CSS parser. More...

+ Inheritance diagram for Wikimedia\CSS\Parser\StringDataSource:
+ Collaboration diagram for Wikimedia\CSS\Parser\StringDataSource:

Public Member Functions

 __construct ( $string)
 readCharacter ()
 putBackCharacter ( $char)

Public Attributes

 $pos = 0
- Public Attributes inherited from Wikimedia\CSS\Parser\DataSource
const EOF = ''

Protected Attributes

 $len = 0
 $putBack = []

Detailed Description

Read data for the CSS parser.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\CSS\Parser\StringDataSource::__construct (   $string)
string$stringInput string. Must be valid UTF-8 with no BOM.

The documentation for this class was generated from the following file: