Completed
Pull Request — master (#139)
by
unknown
04:18
created

PagedModel::getItems()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Yandex\Market\Content\Models\Base;
4
5
use Yandex\Common\Model;
6
7
class PagedModel extends Model
8
{
9
    protected $page = null;
10
11
    protected $total = null;
12
13
    protected $count = null;
14
15
    protected $items = null;
16
17
    /**
18
     * Retrieve the count property
19
     *
20
     * @return int|null
21
     */
22 14
    public function getCount()
23
    {
24 14
        return $this->count;
25
    }
26
27
    /**
28
     * Retrieve the page property
29
     *
30
     * @return int|null
31
     */
32 14
    public function getPage()
33
    {
34 14
        return $this->page;
35
    }
36
37
    /**
38
     * Retrieve the total property
39
     *
40
     * @return int|null
41
     */
42 14
    public function getTotal()
43
    {
44 14
        return $this->total;
45
    }
46
47
    /**
48
     * Retrieve the items property
49
     *
50
     * @return ObjectModel|null
51
     */
52 15
    public function getItems()
53
    {
54 15
        return $this->items;
55
    }
56
}
57