Elgg  Version master
Public Member Functions | List of all members
Elgg\Views\MinifyHandler Class Reference

Minifies content. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Minifies simplecache CSS and JS views by handling the 'simplecache:generate' hook. More...
 

Detailed Description

Minifies content.

Since
4.0

Definition at line 10 of file MinifyHandler.php.

Member Function Documentation

Elgg\Views\MinifyHandler::__invoke ( \Elgg\Hook  $hook)

Minifies simplecache CSS and JS views by handling the 'simplecache:generate' hook.

Parameters
\Elgg\Hook$hook'simplecache:generate', 'css'
Returns
string|null View content minified (if css/js type)

Definition at line 19 of file MinifyHandler.php.


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