src/CSPBuilder.php
public function setStrictDynamic(string $directive = '', bool $allow = false): self
    {
        $this->policies[$directive]['strict-dynamic'] = $allow;
        return $this;
    }
public function setStrictDynamic(string $directive = '', bool $allow = false): self
    {
        $this->policies[$directive]['strict-dynamic'] = $allow;
        return $this;
    }
public function setStrictDynamic ( string $ directive = '' , bool $ allow = false ) : self { $ this -> policies [ $ directive ] [ 'strict-dynamic' ] = $ allow ; return $ this ; }
Set strict-dynamic for a given directive.

@param string $directive
@param bool $allow

@return self
@throws \Exception
Set strict - dynamic for a given directive .