Property | Type | Description | |
---|---|---|---|
$timestamps |
Property | Type | Description | |
---|---|---|---|
$fillable | |||
$primaryKey | |||
$table |
Method | Description | |
---|---|---|
newCollection ( array $models = [] ) : |
Override newCollection() to return a custom collection | |
user ( ) : |
User relationship |
public newCollection ( array $models = [] ) : |
||
$models | array | |
return |
public user ( ) : |
||
return |