CreateClientType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildForm() 0 6 1
1
<?php
2
3
/*
4
 * This file is part of the SaasProviderBundle package.
5
 * (c) Fluxter <http://fluxter.net/>
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Fluxter\SaasProviderBundle\Form;
11
12
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
13
use Symfony\Component\Form\AbstractType;
14
15
class CreateClientType extends AbstractType
16
{
17
    public function buildForm(\Symfony\Component\Form\FormBuilderInterface $builder, array $options)
18
    {
19
        $builder->add('parameters', EntityType::class, [
20
            'entry_type' => ParameterType::class,
21
            'multiple' => true,
22
            'allow_add' => true,
23
        ]);
24
    }
25
}
26