Skip to content
Browse files

changes

  • Loading branch information...
1 parent 7e0256d commit af2ad82732bc91808ed715a11e22d839d44fcf32 @theodorDiaconu theodorDiaconu committed with iampersistent
View
8 lib/Vespolina/Entity/Channel/Channel.php
@@ -12,5 +12,13 @@
class Channel implements ChannelInterface
{
+ protected $id;
+ /**
+ * @return mixed
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
}
View
21 lib/Vespolina/Entity/Order/Item.php
@@ -29,6 +29,8 @@ class Item implements ItemInterface
protected $product;
protected $quantity;
protected $state;
+ protected $order;
+
public function __construct(ProductInterface $product = null)
{
@@ -41,6 +43,25 @@ public function getId()
}
/**
+ * @param $order
+ * @return Item
+ */
+ public function setOrder($order)
+ {
+ $this->order = $order;
+
+ return $this;
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getOrder()
+ {
+ return $this->order;
+ }
+
+ /**
* @inheritdoc
*/
public function addAttribute($name, $value)
View
4 lib/Vespolina/Entity/Order/ItemInterface.php
@@ -21,7 +21,9 @@
/**
* Add an attribute to the collection
*
- * @param $name, $value
+ * @param $name
+ * @param $value
+ * @return
*/
function addAttribute($name, $value);

0 comments on commit af2ad82

Please sign in to comment.
Something went wrong with that request. Please try again.