You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
592 B

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\App;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
App::bind('fileManager', function(){ //Keep in mind this "check" must be return from facades accessor
return new \App\FileManager;
});
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
}