- Added Role and User DTOs for dynamic role handling. - Implemented table and badge components for displaying role data. - Registered a Blade directive for scoped slots in `ScopeServiceProvider`. - Updated dashboard views to include role management section.
15 lines
209 B
PHP
15 lines
209 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\Users;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
final class UsersData extends Data
|
|
{
|
|
public function __construct(
|
|
public UserCollection $users,
|
|
) {}
|
|
}
|