Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eloquent.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Take note that Eloquent assumes the foreign key of the relationship based on the

To define the inverse of the relationship on the `Phone` model, we use the `belongsTo` method:

***Defining The Inverse Of A Relation**
**Defining The Inverse Of A Relation**

class Phone extends Eloquent {

Expand Down Expand Up @@ -216,7 +216,7 @@ Again, you may override the conventional foreign key by passing a second argumne

To define the inverse of the relationship on the `Comment` model, we use the `belongsTo` method:

***Defining The Inverse Of A Relation**
**Defining The Inverse Of A Relation**

class Comment extends Eloquent {

Expand Down Expand Up @@ -289,7 +289,7 @@ Poymorphic relations allow a model to belongs to more than one other model, on a

Now, we can retrieve the photos for either a staff member or an order:

***Retrieving A Polymorphic Relation**
**Retrieving A Polymorphic Relation**

$staff = Staff::find(1);

Expand Down Expand Up @@ -608,4 +608,4 @@ Sometimes you may wish to limit the attributes that are included in your model's

protected $hidden = ['password'];

}
}