m180812_200148_add_label_and_mapping   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 3
dl 0
loc 17
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A init() 0 4 1
A getProviderTableName() 0 4 1
1
<?php
2
3
namespace flipbox\saml\sp\migrations;
4
5
use flipbox\saml\sp\records\ProviderRecord;
6
use flipbox\saml\sp\traits\SamlPluginEnsured;
7
8
/**
9
 * m180812_200148_add_provider_label migration.
10
 */
11
class m180812_200148_add_label_and_mapping extends \flipbox\saml\core\migrations\m180812_200148_add_label_and_mapping
12
{
13
    use SamlPluginEnsured;
14
15
    public function init()
16
    {
17
        parent::init();
18
    }
19
20
    /**
21
     * @inheritdoc
22
     */
23
    protected static function getProviderTableName()
24
    {
25
        return ProviderRecord::tableName();
26
    }
27
}
28