28 lines
548 B
PHP
28 lines
548 B
PHP
<?php
|
|
|
|
namespace Modules\Taxi\App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Modules\Taxi\App\Services\TaxiOrderService;
|
|
|
|
class TaxiOrderProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register the service provider.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
$this->app->bind(TaxiOrderService::class, function($app) {
|
|
return new TaxiOrderService();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Get the services provided by the provider.
|
|
*/
|
|
public function provides(): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|