[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 145 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ProcessHelper:: (5 methods):
run()
mustRun()
wrapCallback()
escapeString()
getName()
Class: ProcessHelper - X-Ref
The ProcessHelper class provides helpers to run external processes.run(OutputInterface $output, $cmd, $error = null, callable $callback = null, $verbosity = OutputInterface::VERBOSITY_VERY_VERBOSE) X-Ref |
Runs an external process. param: OutputInterface $output An OutputInterface instance param: string|array|Process $cmd An instance of Process or an array of arguments to escape and run or a command to run param: string|null $error An error message that must be displayed if something went wrong param: callable|null $callback A PHP callback to run whenever there is some param: int $verbosity The threshold for verbosity return: Process The process that ran |
mustRun(OutputInterface $output, $cmd, $error = null, callable $callback = null) X-Ref |
Runs the process. This is identical to run() except that an exception is thrown if the process exits with a non-zero exit code. param: OutputInterface $output An OutputInterface instance param: string|Process $cmd An instance of Process or a command to run param: string|null $error An error message that must be displayed if something went wrong param: callable|null $callback A PHP callback to run whenever there is some return: Process The process that ran |
wrapCallback(OutputInterface $output, Process $process, callable $callback = null) X-Ref |
Wraps a Process callback to add debugging output. param: OutputInterface $output An OutputInterface interface param: Process $process The Process param: callable|null $callback A PHP callable return: callable |
escapeString($str) X-Ref |
No description |
getName() X-Ref |
{@inheritdoc} |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |