RunCommandMessage
in package
implements
Stringable
Tags
Table of Contents
Interfaces
Properties
- $catchExceptions : bool
- $input : string
- $throwOnFailure : bool
Methods
- __construct() : mixed
- __toString() : string
Properties
$catchExceptions read-only
public
bool
$catchExceptions
= false
$input read-only
public
string
$input
$throwOnFailure read-only
public
bool
$throwOnFailure
= true
Methods
__construct()
public
__construct(string $input[, bool $throwOnFailure = true ][, bool $catchExceptions = false ]) : mixed
Parameters
- $input : string
- $throwOnFailure : bool = true
-
If the command has a non-zero exit code, throw RunCommandFailedException
- $catchExceptions : bool = false
-
@see Application::setCatchExceptions()
__toString()
public
__toString() : string