I have a Quote model:
class Quote extends Eloquent { public function quote_lines() { return $this->hasMany(\'QuoteLine\'); } } >
class Quote extends Eloquent { public function quote_lines() { return $this->hasMany(\'QuoteLine\'); } }
You do not call the function, but you want to grab variable named $quote_lines. Try to call $quote_lines = Quote::find($id)->quote_lines(); instead.
$quote_lines
$quote_lines = Quote::find($id)->quote_lines();