ro
064407aa88
a class for members was needed for long term handling of member functions like login, update, status checking, etc so that class was created and the AuthService class was removed as it was redundant and it's functionaity moved to the member class
23 lines
363 B
PHP
23 lines
363 B
PHP
<?php
|
|
|
|
namespace App\Interfaces;
|
|
|
|
interface MemberRepositoryInterface
|
|
{
|
|
public function getAll();
|
|
|
|
public function getByID($id);
|
|
|
|
public function getByHandle($handle);
|
|
|
|
public function delete($id);
|
|
|
|
public function create($member);
|
|
|
|
public function update($id);
|
|
|
|
public function auth($request);
|
|
|
|
public static function status();
|
|
}
|