13 lines
204 B
PHP
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()];
|
|
}
|
|
} |