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

IndexAction::getTemplateName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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\ContentEditor;
15
16
use WebHemi\Middleware\Action\AbstractMiddlewareAction;
17
18
/**
19
 * Class IndexAction
20
 */
21
class IndexAction extends AbstractMiddlewareAction
22
{
23
    /**
24
     * Gets template map name or template file path.
25
     *
26
     * @return string
27
     */
28
    public function getTemplateName() : string
29
    {
30
        return 'admin-content-editor-index';
31
    }
32
33
    /**
34
     * Gets template data.
35
     *
36
     * @return array
37
     */
38
    public function getTemplateData() : array
39
    {
40
        return [];
41
    }
42
}
43