Skip to content

Commit 18b93fe

Browse files
committed
Add getter for webhook url in SlackWebhookHandler class
Add getter so that the subclass can easy to inherit SlackWebhookHandler class
1 parent fd8c787 commit 18b93fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Monolog/Handler/SlackWebhookHandler.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ public function getSlackRecord()
7070
return $this->slackRecord;
7171
}
7272

73+
public function getWebhookUrl()
74+
{
75+
return $this->webhookUrl;
76+
}
77+
7378
/**
7479
* {@inheritdoc}
7580
*

0 commit comments

Comments
 (0)