Files
laravel-backend/app/Http/Controllers/RoleController.php
Joris Slagter df155bb13d
Some checks failed
continuous-integration/drone/push Build is failing
Initial Laravel API import
- 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
2025-12-02 17:40:21 +01:00

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();
}
}