create profile api's with tests

This commit is contained in:
2024-08-20 08:04:33 +00:00
committed by Hamidreza Ranjbarpour
parent f1626a9d67
commit c710183aa9
18 changed files with 979 additions and 83 deletions

View File

@@ -0,0 +1,30 @@
<?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()
{
}
}