Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\Parsing

ParserState::comes │ public │ WC 1.0

Метод класса: ParserState{}

Хуков нет.

Возвращает

bool.

Использование

$ParserState = new ParserState();
$ParserState->comes( $sString, $bCaseInsensitive );
$sString(строка) (обязательный)
.
$bCaseInsensitive(true|false)
.
По умолчанию: false

Код ParserState::comes() WC 11.3.0

public function comes($sString, $bCaseInsensitive = false)
{
    $sPeek = $this->peek(strlen($sString));
    return ($sPeek == '')
        ? false
        : $this->streql($sPeek, $sString, $bCaseInsensitive);
}