Elgg  Version 6.1
Public Member Functions | List of all members
Elgg\Views\CalculateSRI Class Reference

Calculates SRI for simplecache resources. More...

Public Member Functions

 __invoke (\Elgg\Event $event)
 Calculates the SRI of a simplecache resource file for future use. More...
 

Detailed Description

Calculates SRI for simplecache resources.

Since
4.3

Definition at line 10 of file CalculateSRI.php.

Member Function Documentation

Elgg\Views\CalculateSRI::__invoke ( \Elgg\Event  $event)

Calculates the SRI of a simplecache resource file for future use.

Parameters
\Elgg\Event$event'simplecache:generate', '[css|js]'
Returns
void

Definition at line 19 of file CalculateSRI.php.


The documentation for this class was generated from the following file: