41 lines
687 B
PHP
41 lines
687 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\ApiServices;
|
|
|
|
use App\Services\PayServices;
|
|
use Illuminate\Support\ServiceProvider;
|
|
use App\Classc\AnyUpload;
|
|
|
|
class FacadesServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Register services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
$this->app->singleton('anyupload', function ($app) {
|
|
return new AnyUpload();
|
|
});
|
|
|
|
$this->app->singleton('pay_services', function ($app) {
|
|
return new PayServices();
|
|
});
|
|
|
|
}
|
|
}
|