Skip to content

Commit 1ae7cf2

Browse files
committed
Update INotificationUsesTextlocalClientConfig.php
Update IUsesTextlocalClientConfig.php
1 parent 38bda2c commit 1ae7cf2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/Contracts/INotificationUsesTextlocalClientConfig.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
interface INotificationUsesTextlocalClientConfig
66
{
7+
/**
8+
* This method would be responsible if the user wants to use custom config
9+
* for the current notification otherwise will work as is meaning using the
10+
* default config
11+
* @param $notification
12+
* @return bool
13+
*/
14+
public function shouldUseCustomTextlocalConfig($notification): bool;
715
/**
816
* @param $notifiable
917
* @return array [$username, $hash, $apiKey, $country]

src/Contracts/IUsesTextlocalClientConfig.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
interface IUsesTextlocalClientConfig
66
{
7+
/**
8+
* This method would be responsible if the user wants to use custom config
9+
* for the current notification otherwise will work as is meaning using the
10+
* default config
11+
* @param $notification
12+
* @return bool
13+
*/
14+
public function shouldUseCustomTextlocalConfig($notification): bool;
715
/**
816
* @param $notification
917
* @return array [$username, $hash, $apiKey, $country]

0 commit comments

Comments
 (0)