Skip to content

Commit bba0685

Browse files
aradojeNyholm
authored andcommitted
Cart item variant getter (#29)
* Cart item variant getter * CS
1 parent 076fcae commit bba0685

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Model/Cart/CartItem.php

+5
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,9 @@ public function getTotal(): int
115115
{
116116
return $this->total;
117117
}
118+
119+
public function getVariant(): ?Variant
120+
{
121+
return $this->variant;
122+
}
118123
}

0 commit comments

Comments
 (0)