Test Failed
Push — master ( bd39d1...7116ad )
by Gabor
08:54
created

ListAction   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTemplateName() 0 3 1
A getTemplateData() 0 3 1
1
<?php
2
/**
3
 * WebHemi.
4
 *
5
 * PHP version 7.2
6
 *
7
 * @copyright 2012 - 2019 Gixx-web (http://www.gixx-web.com)
8
 * @license   https://opensource.org/licenses/MIT The MIT License (MIT)
9
 *
10
 * @link http://www.gixx-web.com
11
 */
12
declare(strict_types = 1);
13
14
namespace WebHemi\Middleware\Action\Admin\ControlPanel\AddOns;
15
16
use RuntimeException;
17
use WebHemi\Middleware\Action\AbstractMiddlewareAction;
18
19
/**
20
 * Class ListAction
21
 */
22
class ListAction extends AbstractMiddlewareAction
23
{
24
    /**
25
     * Gets template map name or template file path.
26
     *
27
     * @return string
28
     */
29
    public function getTemplateName() : string
30
    {
31
        return 'admin-control-panel-add-ons-list';
32
    }
33
34
    /**
35
     * Gets template data.
36
     *
37
     * @return array
38
     */
39
    public function getTemplateData() : array
40
    {
41
        return [];
42
    }
43
}
44