This method spun off from a discussion in IRC. What this enables is this: $user->comments()->insert($comment_data)->article()->bind($article->id) |
||
|---|---|---|
| .. | ||
| belongs_to.php | ||
| has_many.php | ||
| has_many_and_belongs_to.php | ||
| has_one.php | ||
| has_one_or_many.php | ||
| relationship.php | ||