Added
withDefaultOwner()
set default owner value on create.
withDefaultOwner($owner)
overwrite default owner value on create with concrete owner.
withoutDefaultOwner()
don't set default owner on model create.
scopeWhereNotOwnedBy($owner)
scope results to exclude unowned records by owner.
Changed
- Renamed method
getDefaultOwner()
to resolveDefaultOwner()
.
- Renamed flag attribute
$setDefaultOwnerOnCreate
to $withDefaultOwnerOnCreate
.
Fixed
- Set default owner on model creation.
View the changes from 1.0.1 to 2.0.0