Completed
Push — 6.7 ( 730fb7...a124d5 )
by André
39:46 queued 26:19
created

NullIndexer   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerContent() 0 3 1
A registerLocation() 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
use eZ\Publish\SPI\Persistence\Content\ContentInfo;
13
use eZ\Publish\SPI\Persistence\Content\Location;
14
15
/**
16
 * Null indexer, does nothing, for default use when non has been configured.
17
 */
18
class NullIndexer implements BackgroundIndexerInterface
19
{
20
    public function registerContent(ContentInfo $contentInfo)
21
    {
22
    }
23
24
    public function registerLocation(Location $location)
25
    {
26
    }
27
}
28