Files
nuhodds_fi4/app/Console/Commands/Grapper/Betsapi.php
T
2025-12-22 15:46:04 +01:00

39 lines
940 B
PHP

<?php
namespace App\Console\Commands\Grapper;
use App\Console\Commands\Grapper\Betsapi\Bwin;
use App\Console\Commands\Grapper\Betsapi\Fixtures;
use App\Console\Commands\Grapper\Betsapi\Odds;
use App\Console\Commands\Grapper\Betsapi\Willhill;
use App\Console\Commands\Nuh;
use App\Utilities\Notice;
class Betsapi
{
public static function switch()
{
switch (Nuh::$options['name']) {
case 'Fixtures':
Fixtures::grap();
break;
case 'Odds':
Odds::grap();
break;
case 'Willhill':
Willhill::grap();
break;
case 'Bwin':
Bwin::grap();
break;
case 'Bwin':
Bet365::grap();
break;
default:
Notice::note('prosses name does not exist', 'r', 1);
break;
}
}
}