Added a new associate method, to associate a row in the cart with a model, so you can access the model from the CartRowCollection

This commit is contained in:
Rob Gloudemans
2014-03-02 13:43:11 +01:00
parent 30d789f0c0
commit 47da5b128d
8 changed files with 159 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
<?php
class TestProduct {
public $description = 'This is the description of the test model';
public function find($id) { return $this; }
}