Completed
Push — master ( 15c856...4ce16e )
by Rafael
05:47
created

NodeDeleteBatchInput   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildForm() 0 3 1
1
<?php
2
/*******************************************************************************
3
 *  This file is part of the GraphQL Bundle package.
4
 *
5
 *  (c) YnloUltratech <[email protected]>
6
 *
7
 *  For the full copyright and license information, please view the LICENSE
8
 *  file that was distributed with this source code.
9
 ******************************************************************************/
10
11
namespace Ynlo\GraphQLBundle\Form\Node;
12
13
use Symfony\Component\Form\AbstractType;
14
use Symfony\Component\Form\FormBuilderInterface;
15
use Ynlo\GraphQLBundle\Form\Type\IDType;
16
17
/**
18
 * NodeDeleteBatchInput
19
 */
20
class NodeDeleteBatchInput extends AbstractType
21
{
22
    /**
23
     * {@inheritdoc}
24
     */
25 1
    public function buildForm(FormBuilderInterface $builder, array $options)
26
    {
27 1
        $builder->add('ids', IDType::class, ['multiple' => true]);
28 1
    }
29
}
30