wikimedia/minify
Minification of JavaScript code and CSS stylesheets
Loading...
Searching...
No Matches
Wikimedia\Minify\Cli Class Reference

Implementation of minify CLI. More...

Public Member Functions

 __construct ( $in, $out, array $argv)
 
 run ()
 Perform the specified command.
 
 getExitCode ()
 

Detailed Description

Implementation of minify CLI.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Minify\Cli::__construct ( $in,
$out,
array $argv )
Parameters
resource$inAn open stream for reading input with fgets()
resource$outAn open stream for writing output with fwrite()
string[]$argv

Member Function Documentation

◆ getExitCode()

Wikimedia\Minify\Cli::getExitCode ( )
Returns
int

The documentation for this class was generated from the following file: