mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 14:27:28 +01:00
27 lines
427 B
PHP
27 lines
427 B
PHP
<?php
|
|
|
|
namespace App\Attribut;
|
|
|
|
use App\Entity\UserInterface;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
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;
|
|
}
|