AnswerText   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A tableName() 0 3 1
A primaryKey() 0 3 1
1
<?php
2
3
namespace dameter\abstracts\models;
4
5
/**
6
 * Class AnswerText
7
 * @property integer $answer_text_id
8
 * @property integer $answer_id
9
 *
10
 * @package dameter\abstracts\models
11
 * @author Tõnis Ormisson <[email protected]>
12
 */
13
class AnswerText extends BaseLanguageSetting
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public static function tableName()
19
    {
20
        return "answer_text";
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public static function primaryKey()
27
    {
28
        return ["answer_text_id"];
29
    }
30
31
    /** {@inheritdoc} */
32
    public static $parentClass = BaseAnswer::class;
33
}