| 1 | <?php namespace Arcanesoft\Tracker\Models; |
||
| 11 | class Session extends BaseSession |
||
| 12 | { |
||
| 13 | /* ------------------------------------------------------------------------------------------------ |
||
| 14 | | Traits |
||
| 15 | | ------------------------------------------------------------------------------------------------ |
||
| 16 | */ |
||
| 17 | use Presenters\SessionPresenter; |
||
| 18 | |||
| 19 | /* ------------------------------------------------------------------------------------------------ |
||
| 20 | | Check Functions |
||
| 21 | | ------------------------------------------------------------------------------------------------ |
||
| 22 | */ |
||
| 23 | /** |
||
| 24 | * Check if the user exists. |
||
| 25 | * |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | public function hasUser() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Check if the referer exists. |
||
| 35 | * |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | public function hasReferer() |
||
| 42 | } |
||
| 43 |