kawax/laravel-vercel-installer

View on GitHub
src/VercelInstallerServiceProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

declare(strict_types=1);

namespace Revolution\Vercel;

use Illuminate\Support\ServiceProvider;
use Revolution\Vercel\Console\InstallCommand;

class VercelInstallerServiceProvider extends ServiceProvider
{
    public function boot(): void
    {
        if ($this->app->runningInConsole()) {
            $this->commands([
                InstallCommand::class,
            ]);
        }
    }
}