Skip to content
Snippets Groups Projects
Commit f891948a authored by PEREZ-RAMIREZ Julian's avatar PEREZ-RAMIREZ Julian
Browse files

creating UserControllerInterface.php

parent 9a54de3e
Branches
No related tags found
No related merge requests found
<?php
namespace App\Interface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
interface UserControllerInterface
{
public function createUser(Request $req): Response;
public function getAllUsers(): Response;
public function getUserById(int $user_id): Response;
public function updateUser(int $user_id, Request $req): Response;
public function deleteUser(int $user_id): Response;
public function authenticateUser(string $username, string $password): Response;
public function changePassword(int $user_id, string $old_password, string $new_password): Response;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment