Completed
Push — master ( f21795...e63d25 )
by Janis
02:34
created

Share   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * nextCloud - ocr
4
 *
5
 * This file is licensed under the Affero General Public License version 3 or
6
 * later. See the COPYING file.
7
 *
8
 * @author Janis Koehr <[email protected]>
9
 * @copyright Janis Koehr 2017
10
 */
11
12
namespace OCA\Ocr\Db;
13
14
use OCP\AppFramework\Db\Entity;
15
16
/**
17
 * Class Share
18
 *
19
 * @package OCA\Ocr\Db
20
 *
21
 * @method string getFileTarget()
22
 */
23
class Share extends Entity {
24
25
	/**
26
	 * @var string
27
	 */
28
	protected $fileTarget;
29
30
	/**
31
	 * Share constructor.
32
	 *
33
	 * @param null $fileTarget
34
	 */
35 3
	public function __construct($fileTarget = null) {
36 3
		$this->fileTarget = $fileTarget;
37 3
	}
38
39
}