Zend\Http\Header\ContentSecurityPolicy::fromString
Create Content Security Policy header from a given header line
Signature
public function fromString(string
$headerLine )
Parameters
$headerLine
— string- The header line to parse.
Returns
- self
Errors/Exceptions
-
InvalidArgumentException
- If the name field in the given header line does not match.