1 | <?php namespace Arcanedev\LaravelTracker\Trackers; |
||
14 | class CookieTracker implements CookieTrackerContract |
||
15 | { |
||
16 | /* ------------------------------------------------------------------------------------------------ |
||
17 | | Properties |
||
18 | | ------------------------------------------------------------------------------------------------ |
||
19 | */ |
||
20 | |||
21 | /* ------------------------------------------------------------------------------------------------ |
||
22 | | Constructor |
||
23 | | ------------------------------------------------------------------------------------------------ |
||
24 | */ |
||
25 | /** |
||
26 | * CookieTracker constructor. |
||
27 | */ |
||
28 | 24 | public function __construct() |
|
32 | |||
33 | /* ------------------------------------------------------------------------------------------------ |
||
34 | | Main Functions |
||
35 | | ------------------------------------------------------------------------------------------------ |
||
36 | */ |
||
37 | /** |
||
38 | * Track the cookie. |
||
39 | * |
||
40 | * @param mixed $cookie |
||
41 | * |
||
42 | * @return int |
||
43 | */ |
||
44 | 6 | public function track($cookie) |
|
54 | } |
||
55 |