| 1 | <?php namespace Arcanedev\LaravelTracker\Trackers; |
||
| 13 | class CookieTracker extends AbstractTracker implements CookieTrackerContract |
||
| 14 | { |
||
| 15 | /* ------------------------------------------------------------------------------------------------ |
||
| 16 | | Main Functions |
||
| 17 | | ------------------------------------------------------------------------------------------------ |
||
| 18 | */ |
||
| 19 | /** |
||
| 20 | * Track the cookie. |
||
| 21 | * |
||
| 22 | * @param mixed $cookie |
||
| 23 | * |
||
| 24 | * @return int |
||
| 25 | */ |
||
| 26 | 6 | public function track($cookie) |
|
| 36 | |||
| 37 | /* ------------------------------------------------------------------------------------------------ |
||
| 38 | | Other Functions |
||
| 39 | | ------------------------------------------------------------------------------------------------ |
||
| 40 | */ |
||
| 41 | /** |
||
| 42 | * Get the cookie instance. |
||
| 43 | * |
||
| 44 | * @return \Illuminate\Cookie\CookieJar |
||
| 45 | */ |
||
| 46 | private function cookie() |
||
| 50 | } |
||
| 51 |