Relation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
1
<?php
2
declare(strict_types = 1);
3
/**
4
 * This file is part of GitterBot package.
5
 *
6
 * @author Serafim <[email protected]>
7
 * @date 28.03.2016 18:07
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
namespace Domains\Message;
13
14
use Core\Mappers\Message\RelationMapper;
15
16
/**
17
 * Class Relation
18
 * @package Domains\Message
19
 * @property-read Message $answer
20
 * @property-read Message $question
21
 */
22
class Relation extends RelationMapper
23
{
24
    /**
25
     * @return string
26
     */
27
    public function getId()
28
    {
29
        return $this->id;
30
    }
31
}
32