31 $error =
sprintf(
'The command "%s" failed.'.
"\n\nExit Code: %s(%s)\n\nWorking directory: %s",
39 $error .=
sprintf(
"\n\nOutput:\n================\n%s\n\nError Output:\n================\n%s",
45 parent::__construct(
$error);
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
InvalidArgumentException for the Process Component.
Exception for failed processes.
__construct(Process $process)
RuntimeException for the Process Component.
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.