32 lines
620 B
PHP
32 lines
620 B
PHP
<?php
|
|
|
|
namespace Paymenter\Extensions\Servers\Proxmox\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Paymenter\Extensions\Servers\Proxmox\Console\Commands\PollServerStatistics;
|
|
|
|
class ProxmoxServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
// Register console commands
|
|
if ($this->app->runningInConsole()) {
|
|
$this->commands([
|
|
PollServerStatistics::class,
|
|
]);
|
|
}
|
|
}
|
|
}
|
|
|