ProCacheFileMerger::getHashSRI()

SRI hash for inclusion in script tag, only available after a merge() call that specified use of $sri

Usage

$string = $proCacheFileMerger->getHashSRI();

Return value

string

Exceptions

Method can throw exceptions on error:

  • WireException - if you call this before merge() or after a merge() that didn't specify $sri


ProCacheFileMerger methods and properties

API reference based on ProcessWire core version 3.0.251