Implemented UniqueInterface, User and tests

This commit is contained in:
Kevin Frantz
2018-07-14 14:15:36 +02:00
parent 400e64a822
commit 14fff41c96
6 changed files with 51 additions and 17 deletions

View File

@@ -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