new User()
Creates a new User object
new User(array $props)
Parameters
Name | Type | Default | Description |
---|---|---|---|
$props |
array |
– |
The $props
parameter
Property | Type | Description |
---|---|---|
blueprint | array |
Blueprint definition |
content | array |
Field values |
string |
||
id | string |
|
language | string |
|
name | string |
|
password | string |
|
role | string |
|
translations | array |
Language codes with subarrays of field values |