| Conditions | 1 |
| Paths | 1 |
| Total Lines | 37 |
| Code Lines | 25 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 13 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | 108 | public function boot(): void |
|
| 16 | { |
||
| 17 | view()->composer('*', function (): void { |
||
| 18 | 33 | Form::component( |
|
| 19 | 33 | 'bsInput', |
|
| 20 | 'components.form.input', |
||
| 21 | ['name', 'options' => []] |
||
| 22 | 33 | ); |
|
| 23 | 33 | ||
| 24 | Form::component( |
||
| 25 | 'bsText', |
||
| 26 | 33 | 'components.form.text', |
|
| 27 | 33 | ['name', 'value' => null, 'label' => null, 'attributes' => []] |
|
| 28 | ); |
||
| 29 | |||
| 30 | 33 | Form::component( |
|
| 31 | 33 | 'bsTextArea', |
|
| 32 | 'components.form.textarea', |
||
| 33 | ['name', 'value' => null, 'label' => null, 'attributes' => []] |
||
| 34 | 33 | ); |
|
| 35 | 33 | ||
| 36 | Form::component( |
||
| 37 | 108 | 'bsEmail', |
|
| 38 | 108 | 'components.form.email', |
|
| 39 | ['name', 'value' => null, 'label' => null, 'attributes' => []] |
||
| 40 | ); |
||
| 41 | |||
| 42 | Form::component( |
||
| 43 | 'bsPassword', |
||
| 44 | 'components.form.password', |
||
| 45 | ['name', 'label' => null, 'attributes' => []] |
||
| 46 | ); |
||
| 47 | |||
| 48 | Form::component( |
||
| 49 | 'submitButton', |
||
| 50 | 'components.form.submit_button', |
||
| 51 | ['options' => []], |
||
| 52 | ); |
||
| 56 |