Attachment   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/**
3
 * Copyright (c) 2014, Tobia De Koninck hey--at--ledfan.be
4
 * This file is licensed under the AGPL version 3 or later.
5
 * See the COPYING file.
6
 */
7
8
namespace OCA\Chat\OCH\Db;
9
10
use \OCP\AppFramework\Db\Entity;
11
12
/**
13
 * Class Conversation
14
 * @method null setOwner(string $owner)
15
 * @method string getOwner()
16
 * @method null setPath(string $path)
17
 * @method string getPath()
18
 * @method null setFileId(int $fileId)
19
 * @method int getFileId()
20
 * @method null setTimestamp(int $timestamp)
21
 * @method int getTimestamp()
22
 * @method null setConvId(string $convId)
23
 * @method string getConvId()
24
 */
25
class Attachment extends Entity {
26
27
	public $owner;
28
	public $path;
29
	public $fileId;
30
	public $timestamp;
31
	public $convId;
32
33
	public function __construct(){
34
        $this->addType('timestamp', 'integer');
35
	}
36
}