From 874cc1f9404d781df241b7489362e543cc765178 Mon Sep 17 00:00:00 2001 From: Dustin Wilson Date: Wed, 31 Jan 2024 15:50:21 -0600 Subject: [PATCH] Updated documentation --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf8953b..8aca83e 100644 --- a/README.md +++ b/README.md @@ -317,7 +317,8 @@ namespace MensBeam\Logger; class StreamHandler extends Handler { public function __construct(resource|string $stream = 'php://stdout', array $levels = [ 0, 1, 2, 3, 4, 5, 6, 7 ], array $options = []); - public function getStream(): resource|string; + public function getStream(): ?resource; + public function getURI(): ?string; public function setStream(resource|string $value): void; } ``` @@ -340,7 +341,11 @@ The following are recognized in the _entryFormat_ option: #### MensBeam\Logger\StreamHandler::getStream #### -Returns the resource or a URL where the handler will output to +Returns the resource where the handler will output to + +#### MensBeam\Logger\StreamHandler::getURI #### + +Returns the URI where the handler will output to #### MensBeam\Logger\StreamHandler::setStream ####