| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class Location |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * {@inheritdoc} |
||
| 13 | */ |
||
| 14 | protected $fillable = [ |
||
| 15 | 'lon', |
||
| 16 | 'lat', |
||
| 17 | ]; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Location constructor. |
||
| 21 | * |
||
| 22 | * @param array $attributes |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function __construct(array $attributes = []) |
||
| 26 | { |
||
| 27 | $this->fill($attributes); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Fill the model with an array of attributes. |
||
| 32 | * |
||
| 33 | * @param array $attributes |
||
| 34 | * @return $this |
||
| 35 | */ |
||
| 36 | public function fill(array $attributes) |
||
| 47 | } |
||
| 48 | } |
||
| 49 |