| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | 111 | public function boot() |
|
| 16 | { |
||
| 17 | view()->composer('*', function () { |
||
| 18 | 36 | Form::component('bsInput', 'components.form.input', |
|
| 19 | 36 | ['name', 'options' => []] |
|
| 20 | ); |
||
| 21 | |||
| 22 | 36 | Form::component('bsText', 'components.form.text', |
|
| 23 | 36 | ['name', 'value' => null, 'label' => null, 'attributes' => []] |
|
| 24 | ); |
||
| 25 | |||
| 26 | 36 | Form::component('bsTextArea', 'components.form.textarea', |
|
| 27 | 36 | ['name', 'value' => null, 'label' => null, 'attributes' => []] |
|
| 28 | ); |
||
| 29 | |||
| 30 | 36 | Form::component('bsEmail', 'components.form.email', |
|
| 31 | 36 | ['name', 'value' => null, 'label' => null, 'attributes' => []] |
|
| 32 | ); |
||
| 33 | |||
| 34 | 36 | Form::component('bsPassword', 'components.form.password', |
|
| 35 | 36 | ['name', 'label' => null, 'attributes' => []] |
|
| 36 | ); |
||
| 40 |