<?php
declare(strict_types=1);

return [
    ['GET',  '/interviews',                        'Interviews\Controllers\InterviewController@index',            ['auth'], 'interview.view'],
    ['GET',  '/interviews/schedule/{memberId}',    'Interviews\Controllers\InterviewController@schedule',         ['auth'], 'interview.schedule'],
    ['POST', '/interviews/schedule/{memberId}',    'Interviews\Controllers\InterviewController@storeSchedule',    ['auth', 'csrf'], 'interview.schedule'],
    ['POST', '/interviews/{id}/reschedule',        'Interviews\Controllers\InterviewController@reschedule',       ['auth', 'csrf'], 'interview.schedule'],
    ['GET',  '/interviews/{id}/decide',            'Interviews\Controllers\InterviewController@decide',           ['auth'], 'interview.decide'],
    ['POST', '/interviews/{id}/decide',            'Interviews\Controllers\InterviewController@decide',           ['auth', 'csrf'], 'interview.decide'],
    ['GET',  '/interviews/member/{memberId}',      'Interviews\Controllers\InterviewController@memberInterviews', ['auth'], 'interview.view'],
];