| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CommentPolicy |
||
| 10 | { |
||
| 11 | use HandlesAuthorization; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Create a new policy instance. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function __construct() |
||
| 20 | // |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * the user may add a comment for students who are enrolled in one of their courses, |
||
| 25 | * or to any student if they have explicit permission to do so. |
||
| 26 | */ |
||
| 27 | public function store_student_comment(User $user, Student $student) |
||
| 32 |