| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Bill extends BaseModel |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Invoice constructor. |
||
| 13 | * @param array $attributes |
||
| 14 | */ |
||
| 15 | 24 | public function __construct(array $attributes = []) |
|
| 16 | { |
||
| 17 | 24 | parent::__construct($attributes); |
|
| 18 | |||
| 19 | 24 | $this->setTable(config('invoice.table_names.invoices')); |
|
| 20 | 24 | } |
|
| 21 | |||
| 22 | /** |
||
| 23 | * The "booting" method of the model. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | 24 | protected static function boot() |
|
| 46 | 24 | }); |
|
| 47 | 24 | } |
|
| 49 |