staffmanager/app/Providers/IPInfoProvider.php

34 lines
479 B
PHP
Raw Normal View History

<?php
namespace App\Providers;
2020-10-21 00:01:41 +00:00
use Illuminate\Support\ServiceProvider;
use App;
class IPInfoProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
App::bind('ipInformationFacade', function(){
return new App\CustomFacades\IP();
});
}
}