SRIRefreshTask
extends BuildTask
in package
Class Firesphere\CSPHeaders\Tasks\SRIRefreshTask
Table of Contents
Properties
- $description : string
- $title : string
Methods
- run() : mixed
- Deletes the Sub-resource integrity values on build of the database so they're regenerated next time that file is required.
Properties
$description
protected
string
$description
= 'Deletes cache of Sub-resource integrities for js/css resources,
these will regenerate on the next request.'
Description of task
$title
protected
string
$title
= 'Refresh SRI'
Title of task
Methods
run()
Deletes the Sub-resource integrity values on build of the database so they're regenerated next time that file is required.
public
run(mixed $request) : mixed
Parameters
- $request : mixed