osb/app/Http/Controllers/UserServicesController.php

13 lines
204 B
PHP
Raw Normal View History

2018-06-05 21:13:57 +10:00
<?php
namespace App\Http\Controllers;
2021-06-29 13:18:52 +10:00
use App\Models\User;
2018-06-05 21:13:57 +10:00
class UserServicesController extends Controller
{
public function services(User $o)
2018-06-05 21:13:57 +10:00
{
return ['data'=>$o->services_active->values()];
2018-06-05 21:13:57 +10:00
}
}