| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class SkuskuPayment extends Payment |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @ORM\Column(name="id", type="integer") |
||
| 16 | * @ORM\Id |
||
| 17 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
| 18 | * |
||
| 19 | * @var integer $id |
||
| 20 | */ |
||
| 21 | protected $id; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @ORM\OneToOne(targetEntity="SkuskuCart", mappedBy="payment") |
||
| 25 | */ |
||
| 26 | private $cart; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return mixed |
||
| 30 | */ |
||
| 31 | public function getCart() |
||
| 32 | { |
||
| 33 | return $this->cart; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param mixed $cart |
||
| 38 | * @return SkuskuPayment |
||
| 39 | */ |
||
| 40 | public function setCart($cart) |
||
| 44 | } |
||
| 45 | } |