Completed
Pull Request — master (#90)
by Arnaud
09:40
created

ArrayFieldConfiguration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A configureOptions() 0 6 1
1
<?php
2
3
namespace LAG\AdminBundle\Field\Configuration;
4
5
use JK\Configuration\Configuration;
6
use Symfony\Component\OptionsResolver\OptionsResolver;
7
8
class ArrayFieldConfiguration extends Configuration
9
{
10
    /**
11
     * Configure options resolver.
12
     *
13
     * @param OptionsResolver $resolver
14
     */
15
    public function configureOptions(OptionsResolver $resolver)
16
    {
17
        $resolver->setDefaults([
18
            'glue' => ', ',
19
        ]);
20
    }
21
}
22