Automattic\WooCommerce\Vendor\Sabberworm\CSS\Parsing
ParserState::peek
Метод класса: ParserState{}
Хуков нет.
Возвращает
string.
Использование
$ParserState = new ParserState(); $ParserState->peek( $iLength, $iOffset );
- $iLength(int)
- .
По умолчанию:1 - $iOffset(int)
- .
Код ParserState::peek() ParserState::peek WC 11.2.1
public function peek($iLength = 1, $iOffset = 0)
{
$iOffset += $this->iCurrentPosition;
if ($iOffset >= $this->iLength) {
return '';
}
return $this->substr($iOffset, $iLength);
}