Completed
Push — master ( caad37...82c5ce )
by Dmitriy
06:13
created

ResponseCategoryGet   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 1
c 2
b 0
f 1
lcom 0
cbo 1
dl 0
loc 18
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCategory() 0 4 1
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Common\Model;
6
7
class ResponseCategoryGet extends Model
8
{
9
    protected $category = null;
10
11
    protected $mappingClasses = [
12
        'category' => 'Yandex\Market\Content\Models\Category'
13
    ];
14
15
    /**
16
     * Retrieve the categories property
17
     *
18
     * @return Categories|null
19
     */
20 1
    public function getCategory()
21
    {
22 1
        return $this->category;
23
    }
24
}
25