We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 607bb93 commit 29e904fCopy full SHA for 29e904f
src/Illuminate/Contracts/Process/ProcessResult.php
@@ -39,13 +39,29 @@ public function exitCode();
39
*/
40
public function output();
41
42
+ /**
43
+ * Determine if the output contains the given string.
44
+ *
45
+ * @param string $output
46
+ * @return bool
47
+ */
48
+ public function seeInOutput(string $output);
49
+
50
/**
51
* Get the error output of the process.
52
*
53
* @return string
54
55
public function errorOutput();
56
57
58
+ * Determine if the error output contains the given string.
59
60
61
62
63
+ public function seeInErrorOutput(string $output);
64
65
66
* Throw an exception if the process failed.
67
0 commit comments