Passed
Push — master ( ca7167...276d5c )
by Fabian
06:10
created

Config::_construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
namespace Firegento\DevDashboard\Model;
3
class Config extends \Magento\Framework\Model\AbstractModel implements \Firegento\DevDashboard\Api\Data\ConfigInterface, \Magento\Framework\DataObject\IdentityInterface
4
{
5
    const CACHE_TAG = 'firegento_devdashboard_config';
6
7
    protected function _construct()
8
    {
9
        $this->_init('Firegento\DevDashboard\Model\ResourceModel\Config');
10
    }
11
12
    public function getIdentities()
13
    {
14
        return [self::CACHE_TAG . '_' . $this->getId()];
15
    }
16
}
17