mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-01-11 17:46:55 +00:00
Made user for UserAttribut optional
This commit is contained in:
@@ -9,7 +9,18 @@ use App\Entity\UserInterface;
|
||||
*/
|
||||
interface UserAttributInterface
|
||||
{
|
||||
/**
|
||||
* @param UserInterface $user
|
||||
*/
|
||||
public function setUser(UserInterface $user): void;
|
||||
|
||||
/**
|
||||
* @return UserInterface
|
||||
*/
|
||||
public function getUser(): UserInterface;
|
||||
|
||||
/**
|
||||
* @return bool Returns if a user is set
|
||||
*/
|
||||
public function hasUser(): bool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user