mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-12-31 13:09:04 +00:00
Implemented UniqueInterface, User and tests
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace entity\user;
|
||||
|
||||
use entity\UniqueInterface;
|
||||
|
||||
/**
|
||||
* Theoreticly you could make an own entity for name
|
||||
* (Depends on the use case.)
|
||||
@@ -9,7 +11,7 @@ namespace entity\user;
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
interface UserInterface
|
||||
interface UserInterface extends UniqueInterface
|
||||
{
|
||||
/**
|
||||
* @param string $hash
|
||||
|
||||
Reference in New Issue
Block a user