[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/JavaScript/Minifiers/ -> Noop.php (source)

   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 s9e\TextFormatter\Configurator\JavaScript\Minifier;
  11  
  12  /**
  13  * No-op minifier
  14  */
  15  class Noop extends Minifier
  16  {
  17      /**
  18      * No-op method, output is the same as input
  19      *
  20      * @param  string $src JavaScript source
  21      * @return string      The very same JavaScript source
  22      */
  23  	public function minify($src)
  24      {
  25          return $src;
  26      }
  27  }


Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1