FrontendTemplate::tableName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * SEOmatic plugin for Craft CMS 3.x
4
 *
5
 * A turnkey SEO implementation for Craft CMS that is comprehensive, powerful,
6
 * and flexible
7
 *
8
 * @link      https://nystudio107.com
9
 * @copyright Copyright (c) 2017 nystudio107
10
 */
11
12
namespace nystudio107\seomatic\records;
13
14
use craft\db\ActiveRecord;
15
16
/**
17
 * @author    nystudio107
18
 * @package   Seomatic
19
 * @since     3.0.0
20
 */
21
class FrontendTemplate extends ActiveRecord
22
{
23
    // Public Static Methods
24
    // =========================================================================
25
26
    /**
27
     * @inheritdoc
28
     */
29
    public static function tableName(): string
30
    {
31
        return '{{%seomatic_frontendtemplates}}';
32
    }
33
}
34