Automattic\WooCommerce\Vendor\Sabberworm\CSS

Parser::setCharsetpublicWC 1.0

Deprecated since since 8.7.0, will be removed in version 9.0.0 with #687. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Sets the charset to be used if the CSS does not contain an @charset declaration.

Method of the class: Parser{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Parser = new Parser();
$Parser->setCharset( $sCharset );
$sCharset(string) (required)
.

Changelog

Deprecated Since 8.7.0 , will be removed in version 9.0.0 with #687

Parser::setCharset() code WC 10.4.3

public function setCharset($sCharset)
{
    $this->oParserState->setCharset($sCharset);
}