Table of Contents
Properties
-
$cssContent
: string
-
$styles
: array<string, array<string, string>>
Methods
-
__construct()
: mixed
-
getStyle()
: array<string|int, mixed>
-
getStyles()
: array<string|int, mixed>
-
process()
: void
-
sanitize()
: string
$cssContent
private
string
$cssContent
$styles
private
array<string, array<string, string>>
$styles
= []
__construct()
public
__construct(string $cssContent) : mixed
Parameters
-
$cssContent
: string
-
getStyle()
public
getStyle(string $selector) : array<string|int, mixed>
Parameters
-
$selector
: string
-
Return values
array<string|int, mixed>
getStyles()
public
getStyles() : array<string|int, mixed>
Return values
array<string|int, mixed>
process()
public
process() : void
sanitize()
private
sanitize(string $value) : string
Parameters
-
$value
: string
-