Automattic\WooCommerce\Vendor\Sabberworm\CSS\CSSList

Document::parsepublic staticWC 1.0

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

Хуков нет.

Возвращает

Document.

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

$result = Document::parse( $oParserState );
$oParserState(ParserState) (обязательный)
.

Код Document::parse() WC 10.9.1

public static function parse(ParserState $oParserState)
{
    $oDocument = new Document($oParserState->currentLine());
    CSSList::parseList($oParserState, $oDocument);
    return $oDocument;
}