Completed
Pull Request — 3.1 (#348)
by Piotr
20:24
created

MyDependentList::getDataIndexer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FSi\Bundle\AdminBundle\spec\fixtures;
6
7
use FSi\Bundle\AdminBundle\Admin\CRUD\DependentListElement;
8
use FSi\Component\DataGrid\DataGridFactoryInterface;
9
use FSi\Component\DataGrid\DataGridInterface;
10
use FSi\Component\DataIndexer\DataIndexerInterface;
11
use FSi\Component\DataSource\DataSourceFactoryInterface;
12
use FSi\Component\DataSource\DataSourceInterface;
13
14
class MyDependentList extends DependentListElement
15
{
16
    public function getId(): string
17
    {
18
        return 'my_dependent_list';
19
    }
20
21
    public function getParentId(): string
22
    {
23
    }
24
25
    protected function initDataGrid(DataGridFactoryInterface $factory): DataGridInterface
26
    {
27
    }
28
29
    protected function initDataSource(DataSourceFactoryInterface $factory): DataSourceInterface
30
    {
31
    }
32
33
    public function getDataIndexer(): DataIndexerInterface
34
    {
35
    }
36
37
    public function saveDataGrid(): void
38
    {
39
    }
40
}
41