Advertisement
Guest User

Untitled

a guest
Mar 4th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Foo
  2. id
  3. barA()
  4. barB()
  5. Bar
  6. id
  7. foo()
  8.  
  9. Foo{
  10. public function barA(){
  11. return $this->belongsTo('AppBar','bar_a_id');
  12. }
  13. public function barB(){
  14. return $this->belongsTo('AppBar','bar_b_id');
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement