Completed
Push — tolerant_search_service ( 768e04...a664cf )
by André
13:22
created

NullIndexer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A registerForRefresh() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of the eZ Publish Kernel package.
5
 *
6
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
7
 * @license For full copyright and license information view LICENSE file distributed with this source code.
8
 */
9
namespace eZ\Publish\Core\Search\Common\BackgroundIndexer;
10
11
use eZ\Publish\Core\Search\Common\BackgroundIndexer as BackgroundIndexerInterface;
12
13
/**
14
 * Null indexer, does nothing, for default use when non has been configured.
15
 */
16
class NullIndexer implements BackgroundIndexerInterface
17
{
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function registerForRefresh($spiValue)
22
    {
23
    }
24
}
25