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