infinito/application/symfony/src/Attribut/UserAttributInterface.php
2019-02-03 00:30:53 +01:00

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;
}