| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function setUp() |
||
| 19 | { |
||
| 20 | $this->formFactory = $this->getContainer([ |
||
| 21 | 'mapping' => [ |
||
| 22 | Article::class => [ |
||
| 23 | 'alias' => 'article', |
||
| 24 | 'properties' => [ |
||
| 25 | 'title' => [ |
||
| 26 | 'type' => 'text', |
||
| 27 | ], |
||
| 28 | 'image' => [ |
||
| 29 | 'type' => 'image', |
||
| 30 | ], |
||
| 31 | 'slideshow' => [ |
||
| 32 | 'type' => 'collection', |
||
| 33 | 'options' => [ |
||
| 34 | 'field_type' => 'image', |
||
| 35 | ], |
||
| 36 | ], |
||
| 37 | ], |
||
| 38 | ], |
||
| 39 | ], |
||
| 40 | ])->get('symfony.form_factory'); |
||
| 41 | } |
||
| 42 | |||
| 74 |