Completed
Push — tolerant_search_service ( 516a96...aac567 )
by André
11:30
created

NullIndexer::registerForRefresh()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
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