ItemMapper   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * ownCloud - Files_antivirus
4
 *
5
 * This file is licensed under the Affero General Public License version 3 or
6
 * later. See the COPYING file.
7
 *
8
 * @author Viktar Dubiniuk <[email protected]>
9
 *
10
 * @copyright Viktar Dubiniuk 2015-2018
11
 * @license AGPL-3.0
12
 */
13
14
namespace OCA\Files_Antivirus\Db;
15
16
use OCP\IDb;
17
use OCP\AppFramework\Db\Mapper;
18
19
/**
20
 * Class ItemMapper
21
 *
22
 * @package OCA\Files_Antivirus\Db
23
 */
24
class ItemMapper extends Mapper {
25
	/**
26
	 * ItemMapper constructor.
27
	 *
28
	 * @param IDb $db
29
	 */
30
	public function __construct(IDb $db) {
31
		parent::__construct($db, 'files_antivirus', '\OCA\Files_Antivirus\Db\Item');
32
	}
33
}
34