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

Minifies content. More...

Public Member Functions

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

Detailed Description

Minifies content.

Since
4.0

Definition at line 10 of file MinifyHandler.php.

Member Function Documentation

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

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

Parameters
\Elgg\Event$event'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: