ClientEntityType   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A configureOptions() 0 3 1
A __construct() 0 4 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\Type;
11
12
use Doctrine\Persistence\ManagerRegistry;
13
use Fluxter\SaasProviderBundle\Service\SaasClientService;
14
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
15
use Symfony\Component\OptionsResolver\OptionsResolver;
16
17
class ClientEntityType extends EntityType
18
{
19
    /** @var SaasClientService */
20
    private $clientService;
21
22
    public function __construct(ManagerRegistry $managerRegistry, SaasClientService $clientService)
23
    {
24
        parent::__construct($managerRegistry);
25
        $this->clientService = $clientService;
26
    }
27
28
    public function configureOptions(OptionsResolver $resolver)
29
    {
30
        parent::configureOptions($resolver);
31
    }
32
}
33