ResponseCategoryGetList   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 16
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Market\Content\Models\Base\PagedModel;
6
7
class ResponseCategoryGetList extends PagedModel
8
{
9
    protected $mappingClasses = [
10
        'items' => 'Yandex\Market\Content\Models\Categories'
11
    ];
12
13
    /**
14
     * Constructor
15
     *
16
     * @param array $data
17
     */
18 2
    public function __construct($data = array())
19
    {
20 2
        parent::__construct($data['categories']);
21 2
    }
22
}
23