25 lines
467 B
PHP
25 lines
467 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class SharedService extends ServiceProvider
|
|
{
|
|
/**
|
|
* @var array<string,string>
|
|
*/
|
|
public array $bindings = [
|
|
/** User repository */
|
|
\App\Shared\Service\User\SearchByIdContract::class =>
|
|
\App\Shared\Service\User\SearchById::class,
|
|
];
|
|
|
|
/**
|
|
* @var array<int,string>
|
|
*/
|
|
public array $singletons = [
|
|
/** Singletons */
|
|
];
|
|
}
|