Automattic\WooCommerce\Vendor\Sabberworm\CSS\RuleSet

AtRuleSet::renderpublicWC 1.0

Method of the class: AtRuleSet{}

No Hooks.

Returns

String.

Usage

$AtRuleSet = new AtRuleSet();
$AtRuleSet->render( $oOutputFormat );
$oOutputFormat(OutputFormat|null) (required)
.

AtRuleSet::render() code WC 10.5.0

public function render($oOutputFormat)
{
    $sResult = $oOutputFormat->comments($this);
    $sArgs = $this->sArgs;
    if ($sArgs) {
        $sArgs = ' ' . $sArgs;
    }
    $sResult .= "@{$this->sType}$sArgs{$oOutputFormat->spaceBeforeOpeningBrace()}{";
    $sResult .= $this->renderRules($oOutputFormat);
    $sResult .= '}';
    return $sResult;
}