Completed
Push — master ( b8dae5...46c150 )
by Gabriel
01:13
created

Collection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A _construct() 0 7 1
1
<?php
2
3
namespace Stockbase\Integration\Model\ResourceModel\ProductImage;
4
5
use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection;
6
7
/**
8
 * Class Collection
9
 * @package Stockbase\Integration\Model\ResourceModel\ProductImage
10
 */
11
class Collection extends AbstractCollection
12
{
13
14
    /**
15
     * Constructor.
16
     */
17
    protected function _construct()
18
    {
19
        $this->_init(
20
            \Stockbase\Integration\Model\ProductImage::class,
21
            \Stockbase\Integration\Model\ResourceModel\ProductImage::class
22
        );
23
    }
24
25
}
26