| 1 | <?php namespace Arcanedev\LaravelTracker\Models; |
||
| 11 | abstract class Model extends BaseModel |
||
| 12 | { |
||
| 13 | /* ------------------------------------------------------------------------------------------------ |
||
| 14 | | Constructor |
||
| 15 | | ------------------------------------------------------------------------------------------------ |
||
| 16 | */ |
||
| 17 | /** |
||
| 18 | * Create a new Eloquent model instance. |
||
| 19 | * |
||
| 20 | * @param array $attributes |
||
| 21 | */ |
||
| 22 | 6 | public function __construct(array $attributes = []) |
|
| 29 | |||
| 30 | /* ------------------------------------------------------------------------------------------------ |
||
| 31 | | Other Functions |
||
| 32 | | ------------------------------------------------------------------------------------------------ |
||
| 33 | */ |
||
| 34 | /** |
||
| 35 | * Get the tracker config. |
||
| 36 | * |
||
| 37 | * @param string $key |
||
| 38 | * @param mixed|null $default |
||
| 39 | * |
||
| 40 | * @return mixed |
||
| 41 | */ |
||
| 42 | 6 | protected function getConfig($key, $default = null) |
|
| 46 | } |
||
| 47 |