| Total Complexity | 1 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class EnrollmentPolicy |
||
| 10 | { |
||
| 11 | use HandlesAuthorization; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Determine whether the user can exchange an enrollment. |
||
| 15 | * |
||
| 16 | * @param \App\Judite\Models\User $user |
||
| 17 | * @param \App\Judite\Models\Enrollment $enrollment |
||
| 18 | * |
||
| 19 | * @return bool |
||
| 20 | */ |
||
| 21 | public function exchange(User $user, Enrollment $enrollment) |
||
| 26 |