35 lines
768 B
PHP
35 lines
768 B
PHP
<?php
|
|
|
|
namespace App\Console\Commands\Grapper;
|
|
|
|
use App\Console\Commands\Grapper\TxOdds\Fixtures;
|
|
use App\Console\Commands\Grapper\TxOdds\Odds;
|
|
use App\Console\Commands\NuhBash;
|
|
|
|
class TxSwitch
|
|
{
|
|
/**
|
|
* https://docs.guzzlephp.org/en/latest/
|
|
*/
|
|
public static function switch()
|
|
{
|
|
switch (NuhBash::$options['name']) {
|
|
case 'Fixtures':
|
|
Fixtures::grap();
|
|
break;
|
|
case 'Odds':
|
|
Odds::grap();
|
|
break;
|
|
case 3:
|
|
break;
|
|
case 4:
|
|
break;
|
|
case 5:
|
|
break;
|
|
default:
|
|
Note::notice('prosses name does not exist', 'r', 1);
|
|
break;
|
|
}
|
|
}
|
|
}
|