Completed
Push — master ( 3a8823...81c6e7 )
by Piotr
02:46
created

ListElement   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A saveDataGrid() 0 4 1
1
<?php
2
3
/**
4
 * (c) FSi sp. z o.o. <[email protected]>
5
 *
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 FSi\Bundle\AdminBundle\Doctrine\Admin;
11
12
use FSi\Bundle\AdminBundle\Admin\CRUD\GenericListElement;
13
14
abstract class ListElement extends GenericListElement implements Element
15
{
16
    use DataIndexerElementImpl;
17
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function saveDataGrid()
22
    {
23
        $this->getObjectManager()->flush();
24
    }
25
}
26