Some checks failed
continuous-integration/drone/push Build is failing
- Complete GGZ Ecademy Laravel backend application - RESTful API for learning products, members, filters - Authentication and authorization system - Database migrations and seeders - Custom CRUD generator commands - Email notification system - Integration with frontend applications
19 lines
314 B
PHP
19 lines
314 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Services\RoleService;
|
|
|
|
class RoleController extends Controller
|
|
{
|
|
public function __construct(RoleService $roleService)
|
|
{
|
|
$this->roleService = $roleService;
|
|
}
|
|
|
|
public function index()
|
|
{
|
|
return $this->roleService->getAll();
|
|
}
|
|
}
|