PHP Class Psr7Middlewares\Transformers\Minifier

Inheritance: extends Resolver
Show file Open project: oscarotero/psr7-middlewares

Protected Properties

Property Type Description
$transformers

Public Methods

Method Description
css ( Psr\Http\Message\StreamInterface $input, Psr\Http\Message\StreamInterface $output ) : Psr\Http\Message\StreamInterface CSS minifier.
html ( Psr\Http\Message\StreamInterface $input, Psr\Http\Message\StreamInterface $output ) : Psr\Http\Message\StreamInterface HTML minifier.
js ( Psr\Http\Message\StreamInterface $input, Psr\Http\Message\StreamInterface $output ) : Psr\Http\Message\StreamInterface Javascript minifier.

Method Details

css() public static method

CSS minifier.
public static css ( Psr\Http\Message\StreamInterface $input, Psr\Http\Message\StreamInterface $output ) : Psr\Http\Message\StreamInterface
$input Psr\Http\Message\StreamInterface
$output Psr\Http\Message\StreamInterface
return Psr\Http\Message\StreamInterface

html() public static method

HTML minifier.
public static html ( Psr\Http\Message\StreamInterface $input, Psr\Http\Message\StreamInterface $output ) : Psr\Http\Message\StreamInterface
$input Psr\Http\Message\StreamInterface
$output Psr\Http\Message\StreamInterface
return Psr\Http\Message\StreamInterface

js() public static method

Javascript minifier.
public static js ( Psr\Http\Message\StreamInterface $input, Psr\Http\Message\StreamInterface $output ) : Psr\Http\Message\StreamInterface
$input Psr\Http\Message\StreamInterface
$output Psr\Http\Message\StreamInterface
return Psr\Http\Message\StreamInterface

Property Details

$transformers protected property

protected $transformers