Skip to content

Commit

Permalink
Register baidu cloud SMS handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Li authored and Bill Li committed Jan 24, 2018
1 parent adf150a commit bd0d967
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/LuminousSms.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@

use Closure;
use InvalidArgumentException;
use AnomalyLab\LuminousSMS\Support\Configure;
use AnomalyLab\LuminousSMS\Contracts\HandlerInterface;
use AnomalyLab\LuminousSMS\Handlers\Qcloud;
use AnomalyLab\LuminousSMS\Handlers\Yunpian;
use AnomalyLab\LuminousSMS\Handlers\Juhe;
use AnomalyLab\LuminousSMS\Handlers\Alidayu;
use AnomalyLab\LuminousSMS\{
Support\Configure,
Contracts\HandlerInterface,
Handlers\Qcloud,
Handlers\Yunpian,
Handlers\Juhe,
Handlers\Alidayu,
Handlers\Baidu
};

/**
* Class LuminousSMS
Expand All @@ -34,9 +37,10 @@ class LuminousSMS
* @var array
*/
protected $handlers = [
'qcloud' => Qcloud::class,
'qcloud' => Qcloud::class,
'yunpian' => Yunpian::class,
'alidayu' => Alidayu::class,
'baidu' => Baidu::class,
'juhe' => Juhe::class
];

Expand Down

0 comments on commit bd0d967

Please sign in to comment.