ClientEntityType::configureOptions()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
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