-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
69329c8
commit 3a007b9
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
namespace Laraflow\Sms\Drivers; | ||
|
||
use Laraflow\Sms\Contracts\SmsDriver; | ||
use Laraflow\Sms\SmsMessage; | ||
|
||
class Logger extends SmsDriver | ||
{ | ||
/** | ||
* this function allow programmer to append more config | ||
* that may or may be needed in the configuration file | ||
* | ||
* @return string[] | ||
*/ | ||
protected function mergeConfig(): array | ||
{ | ||
return []; | ||
} | ||
|
||
|
||
/** | ||
* Return validation rules for | ||
* that sms driver to operate. | ||
*/ | ||
public function rules(): array | ||
{ | ||
return []; | ||
} | ||
|
||
/** | ||
* Execute the sms sending request to api provider | ||
* | ||
* @param SmsMessage $message | ||
* @return Response | ||
*/ | ||
public function send(SmsMessage $message): Response | ||
Check failure on line 37 in src/Drivers/Logger.php
|
||
{ | ||
return []; | ||
|
||
} | ||
} |