Files
wticreatorstudio/app/Services/AuthService.php
Fritz Ramirez 10d0c477c8 Initial commit
2024-02-12 22:54:20 -05:00

28 lines
581 B
PHP

<?php
namespace App\Services;
use App\Repositories\AuthRepository;
class AuthService{
protected $authRepository;
public function __construct(AuthRepository $authRepository){
$this->authRepository = $authRepository;
}
public function register($data){
return $this->authRepository->register($data);
}
public function changePassword($user = null, $data){
return $this->authRepository->changePassword($user, $data);
}
public function getRegister($user){
return $this->authRepository->getRegister($user);
}
}