HtmlDumper extends HtmlDumper
FinalYes
Overrides Symfony's `HtmlDumper` to adjust inline style and JavaScript aspects.
Table of Contents
Properties
- $nonce : ConsumableNonce|null
Methods
- setNonce() : void
- getDumpHeader() : string
- Transforms inline style and JavaScript elements to have a nonce attribute.
Properties
$nonce
protected
ConsumableNonce|null
$nonce
= null
Methods
setNonce()
public
setNonce(ConsumableNonce $nonce) : void
Parameters
- $nonce : ConsumableNonce
getDumpHeader()
Transforms inline style and JavaScript elements to have a nonce attribute.
protected
getDumpHeader() : string