@@ -15,52 +15,52 @@ |
||
| 15 | 15 | class Voucher extends AbstractModel |
| 16 | 16 | { |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Code |
|
| 20 | - * |
|
| 21 | - * @var string |
|
| 22 | - * @db |
|
| 23 | - */ |
|
| 24 | - protected $code; |
|
| 18 | + /** |
|
| 19 | + * Code |
|
| 20 | + * |
|
| 21 | + * @var string |
|
| 22 | + * @db |
|
| 23 | + */ |
|
| 24 | + protected $code; |
|
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Expires |
|
| 28 | - * |
|
| 29 | - * @var \DateTime |
|
| 30 | - * @db |
|
| 31 | - */ |
|
| 32 | - protected $expires; |
|
| 26 | + /** |
|
| 27 | + * Expires |
|
| 28 | + * |
|
| 29 | + * @var \DateTime |
|
| 30 | + * @db |
|
| 31 | + */ |
|
| 32 | + protected $expires; |
|
| 33 | 33 | |
| 34 | - /** |
|
| 35 | - * @return string |
|
| 36 | - */ |
|
| 37 | - public function getCode() |
|
| 38 | - { |
|
| 39 | - return $this->code; |
|
| 40 | - } |
|
| 34 | + /** |
|
| 35 | + * @return string |
|
| 36 | + */ |
|
| 37 | + public function getCode() |
|
| 38 | + { |
|
| 39 | + return $this->code; |
|
| 40 | + } |
|
| 41 | 41 | |
| 42 | - /** |
|
| 43 | - * @param string $code |
|
| 44 | - */ |
|
| 45 | - public function setCode($code) |
|
| 46 | - { |
|
| 47 | - $this->code = $code; |
|
| 48 | - } |
|
| 42 | + /** |
|
| 43 | + * @param string $code |
|
| 44 | + */ |
|
| 45 | + public function setCode($code) |
|
| 46 | + { |
|
| 47 | + $this->code = $code; |
|
| 48 | + } |
|
| 49 | 49 | |
| 50 | - /** |
|
| 51 | - * @return \DateTime |
|
| 52 | - */ |
|
| 53 | - public function getExpires() |
|
| 54 | - { |
|
| 55 | - return $this->expires; |
|
| 56 | - } |
|
| 50 | + /** |
|
| 51 | + * @return \DateTime |
|
| 52 | + */ |
|
| 53 | + public function getExpires() |
|
| 54 | + { |
|
| 55 | + return $this->expires; |
|
| 56 | + } |
|
| 57 | 57 | |
| 58 | - /** |
|
| 59 | - * @param \DateTime $expires |
|
| 60 | - */ |
|
| 61 | - public function setExpires($expires) |
|
| 62 | - { |
|
| 63 | - $this->expires = $expires; |
|
| 64 | - } |
|
| 58 | + /** |
|
| 59 | + * @param \DateTime $expires |
|
| 60 | + */ |
|
| 61 | + public function setExpires($expires) |
|
| 62 | + { |
|
| 63 | + $this->expires = $expires; |
|
| 64 | + } |
|
| 65 | 65 | |
| 66 | 66 | } |
@@ -18,15 +18,15 @@ |
||
| 18 | 18 | class BasketRepository extends AbstractRepository |
| 19 | 19 | { |
| 20 | 20 | |
| 21 | - /** |
|
| 22 | - * Find the current basket |
|
| 23 | - * |
|
| 24 | - * @return Basket |
|
| 25 | - */ |
|
| 26 | - public function findCurrent() |
|
| 27 | - { |
|
| 28 | - DebuggerUtility::var_dump('get current Basket'); |
|
| 29 | - $basket = new Basket(); |
|
| 30 | - return $basket; |
|
| 31 | - } |
|
| 21 | + /** |
|
| 22 | + * Find the current basket |
|
| 23 | + * |
|
| 24 | + * @return Basket |
|
| 25 | + */ |
|
| 26 | + public function findCurrent() |
|
| 27 | + { |
|
| 28 | + DebuggerUtility::var_dump('get current Basket'); |
|
| 29 | + $basket = new Basket(); |
|
| 30 | + return $basket; |
|
| 31 | + } |
|
| 32 | 32 | } |
@@ -15,31 +15,31 @@ |
||
| 15 | 15 | class Basket extends AbstractModel |
| 16 | 16 | { |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Session identifier |
|
| 20 | - * |
|
| 21 | - * @var string |
|
| 22 | - * @db |
|
| 23 | - */ |
|
| 24 | - protected $sessionIdentifier; |
|
| 18 | + /** |
|
| 19 | + * Session identifier |
|
| 20 | + * |
|
| 21 | + * @var string |
|
| 22 | + * @db |
|
| 23 | + */ |
|
| 24 | + protected $sessionIdentifier; |
|
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Get session identifier |
|
| 28 | - * |
|
| 29 | - * @return string |
|
| 30 | - */ |
|
| 31 | - public function getSessionIdentifier() |
|
| 32 | - { |
|
| 33 | - return $this->sessionIdentifier; |
|
| 34 | - } |
|
| 26 | + /** |
|
| 27 | + * Get session identifier |
|
| 28 | + * |
|
| 29 | + * @return string |
|
| 30 | + */ |
|
| 31 | + public function getSessionIdentifier() |
|
| 32 | + { |
|
| 33 | + return $this->sessionIdentifier; |
|
| 34 | + } |
|
| 35 | 35 | |
| 36 | - /** |
|
| 37 | - * Set session identifier |
|
| 38 | - * |
|
| 39 | - * @param string $sessionIdentifier |
|
| 40 | - */ |
|
| 41 | - public function setSessionIdentifier($sessionIdentifier) |
|
| 42 | - { |
|
| 43 | - $this->sessionIdentifier = $sessionIdentifier; |
|
| 44 | - } |
|
| 36 | + /** |
|
| 37 | + * Set session identifier |
|
| 38 | + * |
|
| 39 | + * @param string $sessionIdentifier |
|
| 40 | + */ |
|
| 41 | + public function setSessionIdentifier($sessionIdentifier) |
|
| 42 | + { |
|
| 43 | + $this->sessionIdentifier = $sessionIdentifier; |
|
| 44 | + } |
|
| 45 | 45 | } |
@@ -15,33 +15,33 @@ |
||
| 15 | 15 | class BasketController extends AbstractController |
| 16 | 16 | { |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Basket repository |
|
| 20 | - * |
|
| 21 | - * @var \FRUIT\Shopize\Domain\Repository\BasketRepository |
|
| 22 | - * @inject |
|
| 23 | - */ |
|
| 24 | - protected $basketRepository; |
|
| 18 | + /** |
|
| 19 | + * Basket repository |
|
| 20 | + * |
|
| 21 | + * @var \FRUIT\Shopize\Domain\Repository\BasketRepository |
|
| 22 | + * @inject |
|
| 23 | + */ |
|
| 24 | + protected $basketRepository; |
|
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * List action |
|
| 28 | - */ |
|
| 29 | - public function listAction() |
|
| 30 | - { |
|
| 31 | - $this->view->assign('basket', $this->basketRepository->findCurrent()); |
|
| 32 | - } |
|
| 26 | + /** |
|
| 27 | + * List action |
|
| 28 | + */ |
|
| 29 | + public function listAction() |
|
| 30 | + { |
|
| 31 | + $this->view->assign('basket', $this->basketRepository->findCurrent()); |
|
| 32 | + } |
|
| 33 | 33 | |
| 34 | - /** |
|
| 35 | - * Add action |
|
| 36 | - */ |
|
| 37 | - public function addAction() |
|
| 38 | - { |
|
| 39 | - } |
|
| 34 | + /** |
|
| 35 | + * Add action |
|
| 36 | + */ |
|
| 37 | + public function addAction() |
|
| 38 | + { |
|
| 39 | + } |
|
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * remove action |
|
| 43 | - */ |
|
| 44 | - public function removeAction() |
|
| 45 | - { |
|
| 46 | - } |
|
| 41 | + /** |
|
| 42 | + * remove action |
|
| 43 | + */ |
|
| 44 | + public function removeAction() |
|
| 45 | + { |
|
| 46 | + } |
|
| 47 | 47 | } |
@@ -15,45 +15,45 @@ |
||
| 15 | 15 | class CheckoutController extends AbstractController |
| 16 | 16 | { |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Billing action |
|
| 20 | - */ |
|
| 21 | - public function billingAction() |
|
| 22 | - { |
|
| 23 | - } |
|
| 24 | - |
|
| 25 | - /** |
|
| 26 | - * Shipment action |
|
| 27 | - */ |
|
| 28 | - public function shipmentAction() |
|
| 29 | - { |
|
| 30 | - } |
|
| 31 | - |
|
| 32 | - /** |
|
| 33 | - * Payment action |
|
| 34 | - */ |
|
| 35 | - public function paymentAction() |
|
| 36 | - { |
|
| 37 | - } |
|
| 38 | - |
|
| 39 | - /** |
|
| 40 | - * Confirm action |
|
| 41 | - */ |
|
| 42 | - public function confirmAction() |
|
| 43 | - { |
|
| 44 | - } |
|
| 45 | - |
|
| 46 | - /** |
|
| 47 | - * Check action |
|
| 48 | - */ |
|
| 49 | - public function checkAction() |
|
| 50 | - { |
|
| 51 | - } |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * Finish action |
|
| 55 | - */ |
|
| 56 | - public function finishAction() |
|
| 57 | - { |
|
| 58 | - } |
|
| 18 | + /** |
|
| 19 | + * Billing action |
|
| 20 | + */ |
|
| 21 | + public function billingAction() |
|
| 22 | + { |
|
| 23 | + } |
|
| 24 | + |
|
| 25 | + /** |
|
| 26 | + * Shipment action |
|
| 27 | + */ |
|
| 28 | + public function shipmentAction() |
|
| 29 | + { |
|
| 30 | + } |
|
| 31 | + |
|
| 32 | + /** |
|
| 33 | + * Payment action |
|
| 34 | + */ |
|
| 35 | + public function paymentAction() |
|
| 36 | + { |
|
| 37 | + } |
|
| 38 | + |
|
| 39 | + /** |
|
| 40 | + * Confirm action |
|
| 41 | + */ |
|
| 42 | + public function confirmAction() |
|
| 43 | + { |
|
| 44 | + } |
|
| 45 | + |
|
| 46 | + /** |
|
| 47 | + * Check action |
|
| 48 | + */ |
|
| 49 | + public function checkAction() |
|
| 50 | + { |
|
| 51 | + } |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * Finish action |
|
| 55 | + */ |
|
| 56 | + public function finishAction() |
|
| 57 | + { |
|
| 58 | + } |
|
| 59 | 59 | } |
@@ -15,17 +15,17 @@ |
||
| 15 | 15 | class ShopController extends AbstractController |
| 16 | 16 | { |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * List action |
|
| 20 | - */ |
|
| 21 | - public function listAction() |
|
| 22 | - { |
|
| 23 | - } |
|
| 18 | + /** |
|
| 19 | + * List action |
|
| 20 | + */ |
|
| 21 | + public function listAction() |
|
| 22 | + { |
|
| 23 | + } |
|
| 24 | 24 | |
| 25 | - /** |
|
| 26 | - * Detail action |
|
| 27 | - */ |
|
| 28 | - public function detailAction() |
|
| 29 | - { |
|
| 30 | - } |
|
| 25 | + /** |
|
| 26 | + * Detail action |
|
| 27 | + */ |
|
| 28 | + public function detailAction() |
|
| 29 | + { |
|
| 30 | + } |
|
| 31 | 31 | } |