Automattic\WooCommerce\Vendor\Sabberworm\CSS\Parsing
ParserState::peek
Method of the class: ParserState{}
No Hooks.
Returns
String.
Usage
$ParserState = new ParserState(); $ParserState->peek( $iLength, $iOffset );
- $iLength(int)
- .
Default:1 - $iOffset(int)
- .
ParserState::peek() ParserState::peek code WC 10.4.3
public function peek($iLength = 1, $iOffset = 0)
{
$iOffset += $this->iCurrentPosition;
if ($iOffset >= $this->iLength) {
return '';
}
return $this->substr($iOffset, $iLength);
}