User   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 4 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
 * @method null setConversationId( string $convId)
14
 * @method string getConversationId()
15
 * @method null setUser( string $user)
16
 * @method string getUser()
17
 * @method string getSessionId()
18
 * @method null setJoined(int $timestamp)
19
 * @method int getJoined()
20
 */
21
class User extends Entity {
22
23
	public $conversationId;
24
	public $user;
25
	public $sessionId;
26
	public $joined;
27
28
	public function __construct(){
29
        $this->addType('joined', 'integer');
30
31
	}
32
}