Documentation

StyleInlineAttributeMatch extends TagAttributeMatch
in package

Match for `StyleInlineAttributeFinder`.

Table of Contents

Methods

getStyle()  : mixed
Get the style attribute.
unwrapStyle()  : mixed
Unwrap the style from `getStyle(true)` to the original style.

Methods

getStyle()

Get the style attribute.

public getStyle([bool $wrap = false ]) : mixed
Parameters
$wrap : bool = false

If true, the string gets wrapped into a valid style sheet rule. You can self::unwrap it.

unwrapStyle()

Unwrap the style from `getStyle(true)` to the original style.

public static unwrapStyle(string $style) : mixed
Parameters
$style : string

        
On this page

Search results