|
12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
-
- namespace Lc\CaracoleBundle\Model\User;
-
-
- use Doctrine\Common\Collections\Collection;
- use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
-
- interface VisitorInterface
- {
- public function getSummary();
-
- public function getCookie(): ?string;
-
- public function setCookie(?string $cookie): VisitorInterface;
-
- public function getLastAccess(): ?\DateTimeInterface;
-
- public function setLastAccess(\DateTimeInterface $lastAccess): VisitorInterface;
-
- public function getIp(): ?string;
-
- public function setIp(?string $ip): VisitorInterface;
-
- public function getTotalVisit(): ?int;
-
- public function setTotalVisit(int $totalVisit): VisitorInterface;
-
-
-
- public function getOrders(): Collection;
-
- public function addOrder(OrderShopInterface $order): VisitorInterface;
-
- public function removeOrder(OrderShopInterface $order): VisitorInterface;
- }
|