Completed
Push — master ( fe0e5d...8d9fc1 )
by Tõnis
02:04
created

AnswerText::primaryKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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
}