| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 50 | public function register() |
|
| 25 | { |
||
| 26 | 50 | parent::register(); |
|
| 27 | |||
| 28 | 50 | $this->app['former.dispatcher']->addRepository('Tinyissue\\Form\Former\\Fields\\'); |
|
| 29 | |||
| 30 | // Stop it from rendering field name into label |
||
| 31 | 50 | \Former::setOption('automatic_label', false); |
|
| 32 | 50 | \Former::setOption('TwitterBootstrap3.labelWidths', [ |
|
| 33 | 50 | 'large' => 2, |
|
| 34 | 'small' => 3, |
||
| 35 | ]); |
||
| 36 | 50 | } |
|
| 37 | } |
||
| 38 |