Completed
Push — master ( b0c080...f7d773 )
by Damien
05:39
created

SettingsController::getUpdateClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 */
6
7
namespace flipbox\saml\sp\controllers;
8
9
use flipbox\saml\core\controllers\AbstractSettingsController;
10
use flipbox\saml\core\SamlPluginInterface;
11
use flipbox\saml\sp\records\ProviderRecord;
12
use flipbox\saml\sp\Saml;
13
14
/**
15
 * Class SettingsController
16
 * @package flipbox\saml\sp\controllers\cp\view
17
 */
18
class SettingsController extends AbstractSettingsController
19
{
20
    /**
21
     * @inheritdoc
22
     */
23
    protected function getSamlPlugin(): SamlPluginInterface
24
    {
25
        return Saml::getInstance();
26
    }
27
28
    /**
29
     * @inheritdoc
30
     */
31
    protected function getProviderRecord()
32
    {
33
        return ProviderRecord::class;
34
    }
35
}
36