36 lines
569 B
PHP
Executable File
36 lines
569 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Providers\Pay;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class PayProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
$this->app->bind('alipay', function() {
|
|
return new Alipay();
|
|
});
|
|
|
|
// $this->app->bind('wechatpay', function() {
|
|
// return new WechatPay();
|
|
// });
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
//
|
|
}
|
|
}
|