Collection::_construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Richdynamix\PersonalisedProducts\Model\ResourceModel\Export;
4
5
/**
6
 * Class Collection
7
 *
8
 * @category  Richdynamix
9
 * @package   PersonalisedProducts
10
 * @author    Steven Richardson ([email protected]) @mage_gizmo
11
 */
12
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
13
{
14
    /**
15
     * Collection constructor
16
     */
17
    protected function _construct()
18
    {
19
        $this->_init(
20
            'Richdynamix\PersonalisedProducts\Model\Export',
21
            'Richdynamix\PersonalisedProducts\Model\ResourceModel\Export'
22
        );
23
    }
24
}
25