mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 21:41:06 +03:30
44 lines
984 B
PHP
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()
|
|
{}
|
|
}
|