This commit is contained in:
salam committed 2026-10-04 15:25:03 +02:00
1 parent 9bcd4432c6
commit 6f92f9e1d5
1209 files changed
+220940

No files matched your search

@@ -0,0 +1,35 @@
<?php
namespace App\Console\Commands\Services;
use App\Console\Commands\Nuh;
use App\Console\Commands\Services\Tasks\GenerateAlarms;
use App\Console\Commands\Services\Tasks\GenerateSetting;
use App\Console\Commands\Services\Tasks\MarketsList;
use App\Console\Commands\Services\Tasks\NotifyAlarms;
use App\Console\Commands\Services\Tasks\TxoddsFlags;
class Services
{
public static function switch()
{
switch (Nuh::$options['name']) {
case 'Txodds Markets':
MarketsList::call();
break;
case 'Txodds Flags':
TxoddsFlags::call();
break;
case 'Generate Setting':
GenerateSetting::run();
break;
case 'Generate Alarms':
GenerateAlarms::run();
break;
case 'Notify Alarms':
NotifyAlarms::run();
break;
}
}
}