Skip to content

Commit c95008a

Browse files
committed
add more methods
1 parent a9a38fb commit c95008a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Traits/WriteMessageTrait.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,4 +307,20 @@ public static function setOutputStream($outputStream): void
307307
{
308308
self::$outputStream = $outputStream;
309309
}
310+
311+
/**
312+
* @return resource
313+
*/
314+
public static function getErrorStream()
315+
{
316+
return self::$errorStream;
317+
}
318+
319+
/**
320+
* @param resource $errorStream
321+
*/
322+
public static function setErrorStream($errorStream): void
323+
{
324+
self::$errorStream = $errorStream;
325+
}
310326
}

0 commit comments

Comments
 (0)