Skip to content

Commit

Permalink
Merge pull request #4090 from dataich/patch-1
Browse files Browse the repository at this point in the history
CartItemにgetIdメソッドを追加
  • Loading branch information
Chihiro Adachi committed Mar 4, 2019
2 parents 7ead126 + b3248cc commit ee0c1ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Eccube/Entity/CartItem.php
Expand Up @@ -84,6 +84,14 @@ public function __sleep()
return ['product_class_id', 'price', 'quantity'];
}

/**
* @return int
*/
public function getId()
{
return $this->id;
}

/**
* @param integer $price
*
Expand Down

0 comments on commit ee0c1ab

Please sign in to comment.