This file contains hidden or 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
<?php | |
class Router | |
{ | |
/** | |
* An array of the routes keyed by URI. | |
* | |
* @var array | |
*/ | |
protected $routes = []; |
This file contains hidden or 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
<?php | |
namespace App\OAuth\Bridge\Repositories; | |
use Laravel\Passport\Passport; | |
use League\OAuth2\Server\Entities\ClientEntityInterface; | |
use Laravel\Passport\Bridge\ScopeRepository as PassportScopeRepository; | |
class ScopeRepository extends PassportScopeRepository | |
{ |
This file contains hidden or 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
<?php | |
namespace App\Providers; | |
use Laravel\Passport\Passport; | |
use App\OAuth\SocialUserProvider; | |
use App\OAuth\Bridge\Grant\SocialGrant; | |
use Illuminate\Support\ServiceProvider; | |
use App\OAuth\SocialUserProviderInterface; | |
use League\OAuth2\Server\AuthorizationServer; |
This file contains hidden or 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
<?php | |
namespace App\Repositories; | |
use App\User; | |
class UserRepository | |
{ | |
/** | |
* @var \Illuminate\Database\Eloquent\Model |
This file contains hidden or 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
<?php | |
namespace Tests\Unit; | |
use SMS; | |
use Tests\TestCase; | |
use App\Components\Sms\Drivers\NexmoDriver; | |
use App\Components\Sms\Drivers\TwilioDriver; | |
use App\Components\Sms\Drivers\NullDriver; | |
use App\Components\Sms\Contracts\SMS as SmsContract; |
This file contains hidden or 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
<?php | |
namespace App\Components\Sms\Drivers; | |
use Nexmo\Client as NexmoClient; | |
class NexmoDriver extends Driver | |
{ | |
/** | |
* The Nexmo client. |
This file contains hidden or 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
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| The default SMS Driver | |
|-------------------------------------------------------------------------- | |
| | |
| The default sms driver to use as a fallback when no driver is specified |
NewerOlder