1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 04:37:38 +02:00

Add getter for webhook url in SlackWebhookHandler class

Add getter so that the subclass can easy to inherit SlackWebhookHandler class
This commit is contained in:
MilesChou
2017-11-30 13:47:47 +08:00
parent fd8c787753
commit 18b93feea6

View File

@@ -70,6 +70,11 @@ class SlackWebhookHandler extends AbstractProcessingHandler
return $this->slackRecord; return $this->slackRecord;
} }
public function getWebhookUrl()
{
return $this->webhookUrl;
}
/** /**
* {@inheritdoc} * {@inheritdoc}
* *