Open rentalhost opened 7 years ago
Following #8
HasOne
HasMany
HasManyThrough
MorphOne
MorphMany
MorphTo
MorphToMany
BelongsTo
BelongsToMany
Support\Collection
$user->age = 18
int
$int_type = $user->age
Following #8
HasOne
;HasMany
;HasManyThrough
MorphOne
;MorphMany
;MorphTo
(if possible);MorphToMany
(same);BelongsTo
;BelongsToMany
;Support\Collection
if auto-import is enabled;$user->age = 18
, thenint
);$int_type = $user->age
, thenint
);