Dompdf\Css\Stylesheet::add_style
Add a new Style object to the stylesheet add_style() adds a new Style object to the current stylesheet, or merges a new Style with an existing one.
Signature
public function add_style(string
$key,
Style
$style )
Parameters
$key
— string- the Style's selector
$style
— Dompdf\Css\Style- the Style to be added