[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package s9e\TextFormatter 5 * @copyright Copyright (c) 2010-2022 The s9e authors 6 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 7 */ 8 namespace s9e\TextFormatter\Configurator\JavaScript\Minifiers; 9 10 use MatthiasMullie\Minify; 11 use s9e\TextFormatter\Configurator\JavaScript\Minifier; 12 13 /** 14 * @link http://www.minifier.org/ 15 */ 16 class MatthiasMullieMinify extends Minifier 17 { 18 /** 19 * Compile given JavaScript source using matthiasmullie/minify 20 * 21 * @param string $src JavaScript source 22 * @return string Compiled source 23 */ 24 public function minify($src) 25 { 26 $minifier = new Minify\JS($src); 27 28 return $minifier->minify(); 29 } 30 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |