Skip to content

getForeignKeyName, getQualifiedForeignKeyName, and getOwnerKeyName

Compare
Choose a tag to compare
@ajayfroiden ajayfroiden released this 27 Jan 16:27
· 40 commits to master since this release

The getForeignKey, getQualifiedForeignKey, and getOwnerKey methods of the BelongsTo relationship have been renamed to getForeignKeyName, getQualifiedForeignKeyName, and getOwnerKeyName respectively, making the method names consistent with the other relationships offered by Laravel.