2018-09-24 18:41:26 +02:00
|
|
|
<?php
|
|
|
|
|
2019-01-20 10:41:58 +01:00
|
|
|
namespace App\Attribut;
|
2018-09-24 18:41:26 +02:00
|
|
|
|
2018-10-03 15:50:46 +02:00
|
|
|
use App\Entity\UserInterface;
|
2018-09-24 18:41:26 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
|
|
|
interface UserAttributInterface
|
|
|
|
{
|
2019-02-03 00:30:53 +01:00
|
|
|
/**
|
|
|
|
* @param UserInterface $user
|
|
|
|
*/
|
2018-09-24 18:41:26 +02:00
|
|
|
public function setUser(UserInterface $user): void;
|
|
|
|
|
2019-02-03 00:30:53 +01:00
|
|
|
/**
|
|
|
|
* @return UserInterface
|
|
|
|
*/
|
2018-09-24 18:41:26 +02:00
|
|
|
public function getUser(): UserInterface;
|
2019-02-03 00:30:53 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return bool Returns if a user is set
|
|
|
|
*/
|
|
|
|
public function hasUser(): bool;
|
2018-09-24 18:41:26 +02:00
|
|
|
}
|