InlinePropertyConverter
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- convert() : array<string|int, mixed>
- Convert inline properties back to CSS.
Properties
$colorConverter
private
ColorConverter
$colorConverter
Methods
__construct()
public
__construct(ColorConverter $colorConverter) : mixed
Parameters
- $colorConverter : ColorConverter
convert()
Convert inline properties back to CSS.
public
convert(array<string|int, mixed> $properties) : array<string|int, mixed>
Transforms internal inline property format (used in TextVars) back into CSS property array. Used for property inheritance and cascading.
Parameters
- $properties : array<string|int, mixed>
-
Inline properties array
Return values
array<string|int, mixed> —Converted CSS properties