mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-16 07:06:04 +02: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