src/CSPBuilder.php
public function allowPluginType(string $mime = 'text/plain'): self
    {
        $this->policies['plugin-types']['types'] []= $mime;

        $this->needsCompile = true;
        return $this;
    }
public function allowPluginType(string $mime = 'text/plain'): self
    {
        $this->policies['plugin-types']['types'] []= $mime;

        $this->needsCompile = true;
        return $this;
    }
public function allowPluginType ( string $ mime = 'text/plain' ) : self { $ this -> policies [ 'plugin-types' ] [ 'types' ] [ ] = $ mime ; $ this -> needsCompile = true ; return $ this ; }
Add a plugin type to be added

@param string $mime
@return self
Add a plugin type to be added