Completed
Pull Request — 3.1 (#348)
by Piotr
01:23
created

MyForm   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 18
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A getDataIndexer() 0 3 1
A save() 0 3 1
A initForm() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FSi\Bundle\AdminBundle\spec\fixtures;
6
7
use FSi\Bundle\AdminBundle\Admin\CRUD\GenericFormElement;
8
use FSi\Component\DataIndexer\DataIndexerInterface;
9
use Symfony\Component\Form\FormFactoryInterface;
10
use Symfony\Component\Form\FormInterface;
11
12
class MyForm extends GenericFormElement
13
{
14
    public function getId(): string
15
    {
16
    }
17
18
    public function getDataIndexer(): DataIndexerInterface
19
    {
20
    }
21
22
    public function save($object): void
23
    {
24
    }
25
26
    protected function initForm(FormFactoryInterface $factory, $data = null): FormInterface
27
    {
28
    }
29
}
30