Share   A
last analyzed

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
/**
4
 * Nextcloud - OCR
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
namespace OCA\Ocr\Db;
12
13
use OCP\AppFramework\Db\Entity;
14
15
16
/**
17
 * Class Share
18
 * 
19
 * @package OCA\Ocr\Db
20
 * @method string getFileTarget()
21
 */
22
class Share extends Entity {
23
24
    /**
25
     *
26
     * @var string
27
     */
28
    protected $fileTarget;
29
30
    /**
31
     * Share constructor.
32
     * 
33
     * @param string $fileTarget            
34
     */
35 7
    public function __construct($fileTarget = null) {
36 7
        $this->fileTarget = $fileTarget;
37
    }
38
}