| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class CommentApiController extends Controller |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Get the set of comments associated with a Job. |
||
| 18 | * |
||
| 19 | * @param JobPoster $jobPoster |
||
| 20 | * @return \Illuminate\Http\Response |
||
| 21 | */ |
||
| 22 | public function indexByJob(JobPoster $jobPoster) |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Store a newly created resource in storage |
||
| 30 | * |
||
| 31 | * @param \App\Http\Requests\StoreComment $request Incoming request. |
||
| 32 | * @param \App\Models\JobPoster $jobPoster Incoming Job Poster. |
||
| 33 | * @return \Illuminate\Http\Response |
||
| 34 | */ |
||
| 35 | public function store(StoreComment $request, JobPoster $jobPoster) |
||
| 46 |