1 | <?php |
||
6 | class DMSSessionBackend extends Object implements DMSCartBackendInterface |
||
|
|||
7 | { |
||
8 | public function getItems() |
||
22 | |||
23 | public function addItem(DMSRequestItem $item) |
||
31 | |||
32 | public function removeItem(DMSRequestItem $item) |
||
38 | |||
39 | public function emptyCart() |
||
45 | |||
46 | public function setBackUrl($backURL) |
||
52 | |||
53 | public function getBackUrl() |
||
57 | |||
58 | public function setReceiverInfo(array $receiverInfo = array()) |
||
64 | |||
65 | public function getReceiverInfo() |
||
69 | |||
70 | public function getItem($id) |
||
81 | |||
82 | public function removeItemByID($itemID) |
||
88 | } |
||
89 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.