|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
- use Lc\ShopBundle\Context\ReductionCartPropertyInterface;
- use Lc\ShopBundle\Context\ReductionInterface;
-
-
- abstract class OrderReductionCart implements ReductionInterface, ReductionCartPropertyInterface
- {
- use ReductionTrait;
- use ReductionCartPropertyTrait;
-
-
-
- protected $title;
-
-
-
- protected $orderShop;
-
-
-
-
- protected $reductionCart;
-
- public function __toString()
- {
- return $this->title;
- }
-
- public function getTitle(): ?string
- {
- return $this->title;
- }
-
- public function setTitle(string $title): self
- {
- $this->title = $title;
-
- return $this;
- }
-
- public function getOrderShop(): ?OrderShop
- {
- return $this->orderShop;
- }
-
- public function setOrderShop(?OrderShop $orderShop): self
- {
- $this->orderShop = $orderShop;
-
- return $this;
- }
-
- public function getReductionCart(): ?ReductionCart
- {
- return $this->reductionCart;
- }
-
- public function setReductionCart(?ReductionCart $reductionCart): self
- {
- $this->reductionCart = $reductionCart;
-
- return $this;
- }
-
-
- }
|