ConfigurationValuesType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildForm() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the OneGuard DynamicConfigurationBundle.
5
 *
6
 * (c) OneGuard <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace OneGuard\Bundle\DynamicConfigurationBundle\Form;
13
14
use Symfony\Component\Form\AbstractType;
15
use Symfony\Component\Form\Extension\Core\Type\CollectionType;
16
use Symfony\Component\Form\FormBuilderInterface;
17
18
class ConfigurationValuesType extends AbstractType {
19
	public function buildForm(FormBuilderInterface $builder, array $options) {
20
		$builder
21
			->add('configurationValues', CollectionType::class, [
22
				'entry_type' => ConfigurationValueType::class,
23
				'attr' => ['class' => 'panel panel-default panel-body'],
24
			]);
25
	}
26
}
27