ItemMapper::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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