| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function build() |
||
| 32 | { |
||
| 33 | Artisan::call('panel:crud', [ |
||
| 34 | 'name' => $this->crud->name, |
||
| 35 | '--force' => true, |
||
| 36 | ]); |
||
| 37 | |||
| 38 | $this->crud->update([ |
||
| 39 | 'built' => true |
||
| 40 | ]); |
||
| 41 | |||
| 42 | $this->dispatchBrowserEvent('show-message', ['type' => 'success', 'message' => __('CRUD Created successfully') ] ); |
||
| 43 | $this->emit('crudUpdated'); |
||
| 44 | } |
||
| 72 |