\Horde_JavascriptMinify_Util_Cmdline

Class that provides common function for running a command line program.

Summary

Methods
Properties
Constants
runCmd()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

runCmd()

runCmd(string  $text, string  $cmd, \Horde_Log_Logger  $log) : string

Runs the compression command and returns the output.

Parameters

string $text

The javascript text.

string $cmd

Command.

\Horde_Log_Logger $log

Logging object.

Returns

string —

The compressed javascript.