<?php

/** @var \Laravel\Lumen\Routing\Router $router */


$router->put(
    '/passengerReview/{Id_PassengerReview}/restore',
    [
        'middleware' => 'Auth_Owner',
        'uses' => 'PassengerReview\\Restore@__invoke'
    ]
)->where('Id_PassengerReview', '[0-9]*');

$router->delete(
    '/passengerReview/{Id_PassengerReview}',
    [
        'middleware' => 'Auth_Owner',
        'uses' => 'PassengerReview\\Remove@__invoke'
    ]
)->where('Id_PassengerReview', '[0-9]*');

$router->get(
    '/group/{idGroup}/passengerReview/answered',
    [
        'middleware' => 'Auth_Owner',
        'uses' => 'PassengerReview\\SearchByGroup@__invoke'
    ]
)->where('idGroup', '[0-9]*');
