mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-01-16 19:05:08 -05:00
28 lines
581 B
PHP
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);
|
|
}
|
|
|
|
|
|
|
|
} |