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

Share::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

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