Completed
Push — master ( d75880...1d95d9 )
by Gilmar
36:53 queued 11:51
created

Images   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 1
c 1
b 1
f 0
lcom 0
cbo 2
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A factoryElement() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of gpupo/netshoes-sdk
5
 * Created by Gilmar Pupo <[email protected]>
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 * For more information, see <http://www.g1mr.com/>.
9
 */
10
namespace Gpupo\NetshoesSdk\Entity\Product\Sku;
11
12
use Gpupo\CommonSdk\Entity\CollectionAbstract;
13
14
class Images extends CollectionAbstract
15
{
16
    public function factoryElement($data)
17
    {
18
        return new Image($data);
19
    }
20
}
21