| 1 | <?php |
||
| 32 | trait VariantSubjectTrait |
||
| 33 | { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * The ID of the parent product to relate the variant with. |
||
| 37 | * |
||
| 38 | * @var integer |
||
| 39 | */ |
||
| 40 | protected $parentId; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Set's the ID of the parent product to relate the variant with. |
||
| 44 | * |
||
| 45 | * @param integer $parentId The ID of the parent product |
||
| 46 | * |
||
| 47 | * @return void |
||
| 48 | */ |
||
| 49 | public function setParentId($parentId) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Return's the ID of the parent product to relate the variant with. |
||
| 56 | * |
||
| 57 | * @return integer The ID of the parent product |
||
| 58 | */ |
||
| 59 | public function getParentId() |
||
| 63 | } |
||
| 64 |