From e93b62efdf361ec98bbca91d710333880fd8b705 Mon Sep 17 00:00:00 2001 From: salam Date: Thu, 19 Feb 2026 14:54:41 +0100 Subject: [PATCH] tx odds grapper wip --- app/Console/Commands/Grapper/TxOdds/Odds.php | 56 +++++++++---------- .../TxOdds/Odds/{_2Way.php => Odds_2Way.php} | 2 +- .../Odds/{_2WayS1.php => Odds_2WayS1.php} | 2 +- .../TxOdds/Odds/{_3Way.php => Odds_3Way.php} | 2 +- .../Odds/{_3WayHt.php => Odds_3WayHt.php} | 2 +- .../TxOdds/Odds/{_Dc.php => Odds_Dc.php} | 2 +- .../TxOdds/Odds/{_Dnb.php => Odds_Dnb.php} | 2 +- .../TxOdds/Odds/{_Ggng.php => Odds_Ggng.php} | 2 +- .../Odds/{_Points.php => Odds_Points.php} | 2 +- .../Odds/{_PointsHt.php => Odds_PointsHt.php} | 2 +- .../Odds/{_PointsQ1.php => Odds_PointsQ1.php} | 2 +- .../Odds/{_Totals.php => Odds_Totals.php} | 2 +- .../Odds/{_TotalsHt.php => Odds_TotalsHt.php} | 2 +- .../Odds/{_TotalsQ1.php => Odds_TotalsQ1.php} | 2 +- .../TxOdds/Odds/{_Tq.php => Odds_Tq.php} | 2 +- 15 files changed, 42 insertions(+), 42 deletions(-) rename app/Console/Commands/Grapper/TxOdds/Odds/{_2Way.php => Odds_2Way.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_2WayS1.php => Odds_2WayS1.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_3Way.php => Odds_3Way.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_3WayHt.php => Odds_3WayHt.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_Dc.php => Odds_Dc.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_Dnb.php => Odds_Dnb.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_Ggng.php => Odds_Ggng.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_Points.php => Odds_Points.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_PointsHt.php => Odds_PointsHt.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_PointsQ1.php => Odds_PointsQ1.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_Totals.php => Odds_Totals.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_TotalsHt.php => Odds_TotalsHt.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_TotalsQ1.php => Odds_TotalsQ1.php} (98%) rename app/Console/Commands/Grapper/TxOdds/Odds/{_Tq.php => Odds_Tq.php} (98%) diff --git a/app/Console/Commands/Grapper/TxOdds/Odds.php b/app/Console/Commands/Grapper/TxOdds/Odds.php index c9a80f9c..c4fc7d55 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds.php @@ -2,20 +2,20 @@ namespace App\Console\Commands\Grapper\TxOdds; -use App\Console\Commands\Grapper\TxOdds\Odds\_2Way; -use App\Console\Commands\Grapper\TxOdds\Odds\_2WayS1; -use App\Console\Commands\Grapper\TxOdds\Odds\_3Way; -use App\Console\Commands\Grapper\TxOdds\Odds\_3WayHt; -use App\Console\Commands\Grapper\TxOdds\Odds\_Dc; -use App\Console\Commands\Grapper\TxOdds\Odds\_Dnb; -use App\Console\Commands\Grapper\TxOdds\Odds\_Ggng; -use App\Console\Commands\Grapper\TxOdds\Odds\_Points; -use App\Console\Commands\Grapper\TxOdds\Odds\_PointsHt; -use App\Console\Commands\Grapper\TxOdds\Odds\_PointsQ1; -use App\Console\Commands\Grapper\TxOdds\Odds\_Totals; -use App\Console\Commands\Grapper\TxOdds\Odds\_TotalsHt; -use App\Console\Commands\Grapper\TxOdds\Odds\_TotalsQ1; -use App\Console\Commands\Grapper\TxOdds\Odds\_Tq; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_2Way; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_2WayS1; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_3Way; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_3WayHt; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_Dc; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_Dnb; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_Ggng; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_Points; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_PointsHt; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_PointsQ1; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_Totals; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_TotalsHt; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_TotalsQ1; +use App\Console\Commands\Grapper\TxOdds\Odds\Odds_Tq; use App\Console\Commands\Grapper\TxOdds\Odds\Tools\ActiveSpread; use App\Console\Commands\Nuh; use App\Console\Commands\Xml; @@ -335,7 +335,7 @@ class Odds } } - _3Way::grap($odds, $offer); + Odds_3Way::grap($odds, $offer); break; case 1: foreach ($offer->odds->attributes() as $attributeName => $attributeValue) { @@ -353,7 +353,7 @@ class Odds } } - _2Way::grap($odds, $offer); + Odds_2Way::grap($odds, $offer); break; case 3: @@ -372,44 +372,44 @@ class Odds } } - _Points::grap($odds, $offer); + Odds_Points::grap($odds, $offer); break; case 4: - _Totals::grap($odds, $offer); + Odds_Totals::grap($odds, $offer); break; case 131073: - _2WayS1::grap($odds, $offer); + Odds_2WayS1::grap($odds, $offer); break; case 65536: - _3WayHt::grap($odds, $offer); + Odds_3WayHt::grap($odds, $offer); break; case 65540: - _TotalsHt::grap($odds, $offer); + Odds_TotalsHt::grap($odds, $offer); break; case 65539: - _PointsHt::grap($odds, $offer); + Odds_PointsHt::grap($odds, $offer); break; case 131075: - _PointsQ1::grap($odds, $offer); + Odds_PointsQ1::grap($odds, $offer); break; case 131076: - _TotalsQ1::grap($odds, $offer); + Odds_TotalsQ1::grap($odds, $offer); break; case 5242880: - _Dc::grap($odds, $offer); + Odds_Dc::grap($odds, $offer); break; case 6291457: - _Dnb::grap($odds, $offer); + Odds_Dnb::grap($odds, $offer); break; case 11534337: - _Ggng::grap($odds, $offer); + Odds_Ggng::grap($odds, $offer); break; case 7340033: - _Tq::grap($odds, $offer); + Odds_Tq::grap($odds, $offer); break; default: diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_2Way.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_2Way.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_2Way.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_2Way.php index 752a4223..72714634 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_2Way.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_2Way.php @@ -7,7 +7,7 @@ use App\Models\Odds2way; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _2Way +class Odds_2Way { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_2WayS1.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_2WayS1.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_2WayS1.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_2WayS1.php index 1ebc8938..85d4be6a 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_2WayS1.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_2WayS1.php @@ -7,7 +7,7 @@ use App\Models\Odds2wayS1; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _2WayS1 +class Odds_2WayS1 { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_3Way.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_3Way.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_3Way.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_3Way.php index c8d8fc8b..8ab131be 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_3Way.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_3Way.php @@ -7,7 +7,7 @@ use App\Models\Odds3way; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _3Way +class Odds_3Way { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_3WayHt.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_3WayHt.php index a66c7d30..9a13fc15 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_3WayHt.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_3WayHt.php @@ -7,7 +7,7 @@ use App\Models\Odds3wayHt; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _3WayHt +class Odds_3WayHt { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_Dc.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Dc.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_Dc.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_Dc.php index 12667160..c70c1b1e 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_Dc.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Dc.php @@ -7,7 +7,7 @@ use App\Models\OddsDc; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _Dc +class Odds_Dc { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_Dnb.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Dnb.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_Dnb.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_Dnb.php index cb0d6caf..c2dac6c2 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_Dnb.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Dnb.php @@ -7,7 +7,7 @@ use App\Models\OddsDnb; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _Dnb +class Odds_Dnb { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_Ggng.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Ggng.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_Ggng.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_Ggng.php index a44f9e69..cdf48760 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_Ggng.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Ggng.php @@ -7,7 +7,7 @@ use App\Models\OddsGgng; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _Ggng +class Odds_Ggng { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_Points.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Points.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_Points.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_Points.php index 90d3c22b..078e9c04 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_Points.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Points.php @@ -8,7 +8,7 @@ use App\Models\OddsPoint; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _Points +class Odds_Points { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_PointsHt.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_PointsHt.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_PointsHt.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_PointsHt.php index d430bafc..b07bc848 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_PointsHt.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_PointsHt.php @@ -8,7 +8,7 @@ use App\Models\OddsPointHt; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _PointsHt +class Odds_PointsHt { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_PointsQ1.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_PointsQ1.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_PointsQ1.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_PointsQ1.php index a7f59a2b..32cba098 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_PointsQ1.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_PointsQ1.php @@ -8,7 +8,7 @@ use App\Models\OddsPointQ1; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _PointsQ1 +class Odds_PointsQ1 { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_Totals.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Totals.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_Totals.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_Totals.php index f872d5f6..e443a81a 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_Totals.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Totals.php @@ -8,7 +8,7 @@ use App\Models\OddsTotal; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _Totals +class Odds_Totals { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_TotalsHt.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_TotalsHt.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_TotalsHt.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_TotalsHt.php index 1cb1ffc4..4816c6c2 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_TotalsHt.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_TotalsHt.php @@ -8,7 +8,7 @@ use App\Models\OddsTotalHt; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _TotalsHt +class Odds_TotalsHt { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_TotalsQ1.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_TotalsQ1.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_TotalsQ1.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_TotalsQ1.php index a05b833b..eca0759a 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_TotalsQ1.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_TotalsQ1.php @@ -8,7 +8,7 @@ use App\Models\OddsTotalQ1; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _TotalsQ1 +class Odds_TotalsQ1 { public static function grap($odds, $offer) { diff --git a/app/Console/Commands/Grapper/TxOdds/Odds/_Tq.php b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Tq.php similarity index 98% rename from app/Console/Commands/Grapper/TxOdds/Odds/_Tq.php rename to app/Console/Commands/Grapper/TxOdds/Odds/Odds_Tq.php index 2adfad6b..0923a01f 100644 --- a/app/Console/Commands/Grapper/TxOdds/Odds/_Tq.php +++ b/app/Console/Commands/Grapper/TxOdds/Odds/Odds_Tq.php @@ -7,7 +7,7 @@ use App\Models\OddsTq; use App\Utilities\Margin; use Illuminate\Support\Facades\DB; -class _Tq +class Odds_Tq { public static function grap($odds, $offer) {