NSWDPC\Utilities\ContentSecurityPolicy\Policy::getPolicy
Retrieve the policy in a format for use in the Header or Meta Tag handling
Signature
public function getPolicy([integer
$enabled = 1,
[boolean
$pretty = false]] )
Parameters
$enabled
— integer- filter by Enabled directives only
$pretty
— boolean- format each policy line on a new line