public function __construct(ShaComputer $shaComputer, $tag, $directive) { $this->shaComputer = $shaComputer; $this->tag = $tag; $this->directive = $directive; }
public function __construct(ShaComputer $shaComputer) { parent::__construct($shaComputer, 'cspscript', 'script-src'); }