Menu

## Role extends Role
in package

Role.php : 24

Class Role

Model for managing application roles.

##### Tags

mixin

### Table of Contents

#### Properties

$created_at : DateTime
$deleted_at : DateTime
$description : string
$display_name : string
$id : int
$name : string
$roleUser : Collection|array<string|int, RoleUser>
$updated_at : DateTime
$dates : mixed
$fillable : mixed
$table : mixed

#### Methods

roleUser() : HasMany
  Get role users associated with this role.

### Properties

#### $created_at

Role.php : 0
`public DateTime $created_at`

#### $deleted_at

Role.php : 0
`public DateTime $deleted_at`

#### $description

Role.php : 0
`public string $description`

#### $display_name

Role.php : 0
`public string $display_name`

#### $id

Role.php : 0
`public int $id`

#### $name

Role.php : 0
`public string $name`

#### $roleUser read-only

Role.php : 0
`public Collection|array<string|int, RoleUser> $roleUser`

#### $updated_at

Role.php : 0
`public DateTime $updated_at`

#### $dates

Role.php : 32
`protected mixed $dates = ['deleted_at']`

#### $fillable

Role.php : 28
`protected mixed $fillable = ['name', 'display_name', 'description']`

#### $table

Role.php : 26
`protected mixed $table = 'roles'`

### Methods

#### roleUser()

Role.php : 39

Get role users associated with this role.

`public roleUser() : HasMany`

##### Return values

HasMany

## Search results