Files
cssd-back/app/Providers/AppServiceProvider.php
2024-09-02 12:28:51 +03:30

44 lines
984 B
PHP

<?php
namespace App\Providers;
use App\Interfaces\CycleRepositoryInterface;
use App\Interfaces\LabelRepositoryInterface;
use App\Interfaces\PackageRepositoryInterface;
use App\Repositories\CycleRepository;
use App\Repositories\LabelRepository;
use App\Repositories\PackageRepository;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
$this->app->bind(
PackageRepositoryInterface::class,
PackageRepository::class
);
$this->app->bind(
CycleRepositoryInterface::class,
CycleRepository::class
);
$this->app->bind(
LabelRepositoryInterface::class,
LabelRepository::class
);
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{}
}