| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class Assessment extends BaseModel |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * The columns that can be filled with mass-assignment |
||
| 28 | * |
||
| 29 | * @var string[] |
||
| 30 | */ |
||
| 31 | protected $fillable = []; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get the ScreeningPlan this assessment is part of. |
||
| 35 | * |
||
| 36 | * @return Illuminate\Database\Eloquent\Relations\Relation |
||
| 37 | */ |
||
| 38 | public function screening_plan() // phpcs:ignore |
||
| 39 | { |
||
| 40 | return $this->belongsTo(ScreeningPlan::class); |
||
|
1 ignored issue
–
show
|
|||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get the single Criteria object this assessment applies to. |
||
| 45 | * |
||
| 46 | * @return Illuminate\Database\Eloquent\Relations\Relation |
||
| 47 | */ |
||
| 48 | public function criterion() // phpcs:ignore |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Get the AssessmentType of this Assessment. |
||
| 55 | * |
||
| 56 | * @return Illuminate\Database\Eloquent\Relations\Relation |
||
| 57 | */ |
||
| 58 | public function assessment_type() // phpcs:ignore |
||
| 63 |