|
| init () |
|
| publish ($property, $visibility=self::READABLE) |
| Publish a property (or hide it again). More...
|
|
| configure ($config) |
| Configure the object. More...
|
|
| _get ($key) |
| Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
|
| _set ($key, $value) |
| Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
|
Definition at line 5 of file Handler.php.
◆ __construct()
__construct |
( |
|
$minify, |
|
|
|
$config |
|
) |
| |
◆ file()
file |
( |
|
$source, |
|
|
|
$target = null |
|
) |
| |
Minify a source file.
- Parameters
-
string | $source | Source filename. |
string | $target | Target filename (when empty, and a cache is definied, a filename will be generated). |
- Returns
- string Target filename (false on error).
Definition at line 33 of file Handler.php.
◆ files()
files |
( |
|
$sources, |
|
|
|
$target = null |
|
) |
| |
Minify and combine multiple source files.
- Parameters
-
array | $sources | Source filenames. |
string | $target | Target filename (when empty, and a cache is definied, a filename will be generated). |
- Returns
- string Target filename (false on error).
Definition at line 48 of file Handler.php.
◆ init()
◆ source()
source |
( |
|
$source, |
|
|
|
$filename = null |
|
) |
| |
Minify a source string.
- Parameters
-
string | $source | Source to minify. |
string | $filename | Optional source filename for use in error messages. |
- Returns
- string Minified source.
Definition at line 24 of file Handler.php.
◆ $_config
◆ $_minify
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Minify/Handler.php