FakeArticle::getTag()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace Thunder\Serializard\Tests\Fake;
3
4
final class FakeArticle
5
{
6
    private $id;
7
    private $title;
8
    private $user;
9
    private $tag;
10
11
    public function __construct($id, $title, FakeUser $user, FakeTag $tag)
12
    {
13
        $this->id = $id;
14
        $this->title = $title;
15
        $this->user = $user;
16
        $this->tag = $tag;
17
    }
18
19
    public function getId() { return $this->id; }
20
    public function getTitle() { return $this->title; }
21
    public function getUser() { return $this->user; }
22
    public function getTag() { return $this->tag; }
23
}
24