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

MyDependentBatch   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getParentId() 0 3 1
A getDataIndexer() 0 3 1
A apply() 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\DependentBatchElement;
8
use FSi\Component\DataIndexer\DataIndexerInterface;
9
10
class MyDependentBatch extends DependentBatchElement
11
{
12
    public function getId(): string
13
    {
14
        return 'my_dependent_batch';
15
    }
16
17
    public function getParentId(): string
18
    {
19
    }
20
21
    public function getDataIndexer(): DataIndexerInterface
22
    {
23
    }
24
25
    public function apply($object): void
26
    {
27
    }
28
}
29