Featuretoggle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
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 11
wmc 1
lcom 0
cbo 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A _construct() 0 8 1
1
<?php
2
3
namespace Jcowie\FeatureToggle\Block\Adminhtml;
4
5
class Featuretoggle extends \Magento\Backend\Block\Widget\Grid\Container
6
{
7
    protected function _construct()
8
    {
9
        $this->_controller = 'adminhtml';
10
        $this->_blockGroup = 'Jcowie_Featuretoggle';
11
        $this->_headerText = __('Feature Toggles');
12
        $this->_addButtonLabel = __('Add New Feature Toggle');
13
        parent::_construct();
14
    }
15
}
16