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