src/Providers/TaskManagerServiceProvider.php
<?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();
});
}
}