1 | <?php namespace Arcanedev\LaravelTracker\Trackers; |
||
12 | class PathTracker extends AbstractTracker implements PathTrackerContract |
||
13 | { |
||
14 | /* ----------------------------------------------------------------- |
||
15 | | Getters and Setters |
||
16 | | ----------------------------------------------------------------- |
||
17 | */ |
||
18 | |||
19 | /** |
||
20 | * Get the model. |
||
21 | * |
||
22 | * @return \Arcanedev\LaravelTracker\Models\Path |
||
23 | */ |
||
24 | 9 | protected function getModel() |
|
28 | |||
29 | /* ----------------------------------------------------------------- |
||
30 | | Main Methods |
||
31 | | ----------------------------------------------------------------- |
||
32 | */ |
||
33 | |||
34 | /** |
||
35 | * Track the path. |
||
36 | * |
||
37 | * @param string $path |
||
38 | * |
||
39 | * @return int |
||
40 | */ |
||
41 | 9 | public function track($path) |
|
48 | } |
||
49 |