33 lines
833 B
PHP
33 lines
833 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands\Services\DbMapper;
|
|
|
|
use App\Console\Commands\Nuh;
|
|
use App\Utilities\Notice;
|
|
|
|
class DbMapper
|
|
{
|
|
public static function switch()
|
|
{
|
|
$debug = Nuh::$options['d'] ?? 0;
|
|
|
|
switch (Nuh::$options['name']) {
|
|
case 'Bet365':
|
|
switch (Nuh::$options['sport']) {
|
|
case 'Tennis':
|
|
Bet365Tennis::run();
|
|
break;
|
|
|
|
default:
|
|
Notice::note(Nuh::$options['name'].' '.Nuh::$options['sport'].' not implemented', 'r', 1);
|
|
break;
|
|
}
|
|
break;
|
|
|
|
default:
|
|
Notice::note(Nuh::$options['name'].' '.Nuh::$options['sport'].' not implemented', 'r', 1);
|
|
break;
|
|
}
|
|
}
|
|
}
|