1 | <?php |
||
9 | class EmployeeController extends Controller |
||
10 | { |
||
11 | 6 | public function __construct() |
|
17 | |||
18 | /** |
||
19 | * Display the employee data |
||
20 | * /employees/employee/ |
||
21 | * |
||
22 | * @return \Illuminate\Http\Response |
||
23 | */ |
||
24 | 2 | public function index() |
|
29 | |||
30 | |||
31 | /** |
||
32 | * update the employee name and password (both optionally) |
||
33 | * @param EmployeeRequest $request |
||
34 | * @return \Illuminate\Http\Response |
||
35 | */ |
||
36 | 2 | public function update(EmployeeRequest $request) |
|
43 | } |
||
44 |