| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class Assessment extends BaseModel |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * The columns that can be filled with mass-assignment |
||
| 25 | * |
||
| 26 | * @var string[] |
||
| 27 | */ |
||
| 28 | protected $fillable = [ |
||
| 29 | 'criterion_id', |
||
| 30 | 'assessment_type_id' |
||
| 31 | ]; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get the single Criteria object this assessment applies to. |
||
| 35 | * |
||
| 36 | * @return Illuminate\Database\Eloquent\Relations\Relation |
||
|
|
|||
| 37 | */ |
||
| 38 | public function criterion() // phpcs:ignore |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get the AssessmentType of this Assessment. |
||
| 45 | * |
||
| 46 | * @return Illuminate\Database\Eloquent\Relations\Relation |
||
| 47 | */ |
||
| 48 | public function assessment_type() // phpcs:ignore |
||
| 53 |