31 lines
473 B
PHP
31 lines
473 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Facades\File\File;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class FileServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register(): void
|
|
{
|
|
$this->app->bind('file', function () {
|
|
return new File();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
}
|
|
}
|