stylers-llc/laravel-task-manager

View on GitHub
src/Providers/TaskManagerServiceProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);

namespace Stylers\TaskManager\Providers;

use Illuminate\Support\ServiceProvider;
use Stylers\TaskManager\Console\TaskManager;

class TaskManagerServiceProvider extends ServiceProvider
{
    public function boot()
    {
        //
    }
    
    public function register()
    {
        $this->app->singleton(TaskManager::class, function () {
            return new TaskManager();
        });
    }
}