Skip to content

Commit 16d9bc5

Browse files
author
Arzaroth Lekva
committed
improve setStdIn docstring for resource parameter
1 parent ec0bf1e commit 16d9bc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/Command.php

+2
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ public function setCommand($command)
174174
/**
175175
* @param string|resource $stdIn If set, the string will be piped to the command via standard input.
176176
* This enables the same functionality as piping on the command line.
177+
* It can also be a resource like a file handle or a stream in which case its content will be piped
178+
* into the command like an input redirection.
177179
* @return static for method chaining
178180
*/
179181
public function setStdIn($stdIn) {

0 commit comments

Comments
 (0)