wip
This commit is contained in:
1 parent
c394f7afba
commit
44af3f2caa
21 files changed
+222
-151
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Actions\Selections;
|
||||
|
||||
use App\Models\SofaScorePlayerPosition;
|
||||
|
||||
class LoadPosition
|
||||
{
|
||||
public static function load()
|
||||
{
|
||||
$res = SofaScorePlayerPosition::get();
|
||||
|
||||
$arr = [];
|
||||
foreach ($res as $val) {
|
||||
$arr[$val->ss_code] = $val->season;
|
||||
}
|
||||
|
||||
return $arr;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user