osb/app/Http/Controllers/UserServicesController.php
2021-06-29 16:40:54 +10:00

13 lines
204 B
PHP

<?php
namespace App\Http\Controllers;
use App\Models\User;
class UserServicesController extends Controller
{
public function services(User $o)
{
return ['data'=>$o->services_active->values()];
}
}