Completed
Push — 3.1 ( 7e9d2a...4fdd2b )
by Piotr
13:37 queued 13:35
created

MyDependentForm   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 1
dl 0
loc 23
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getParentId() 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\DependentFormElement;
8
use FSi\Component\DataIndexer\DataIndexerInterface;
9
use Symfony\Component\Form\FormFactoryInterface;
10
use Symfony\Component\Form\FormInterface;
11
12
class MyDependentForm extends DependentFormElement
13
{
14
    public function getId(): string
15
    {
16
        return 'my_dependent_form';
17
    }
18
19
    public function getParentId(): string
20
    {
21
    }
22
23
    public function getDataIndexer(): DataIndexerInterface
24
    {
25
    }
26
27
    public function save($object): void
28
    {
29
    }
30
31
    protected function initForm(FormFactoryInterface $factory, $data = null): FormInterface
32
    {
33
    }
34
}
35