Completed
Pull Request — master (#139)
by
unknown
10:24
created

ResponseShopGet   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

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
rs 10

1 Method

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