2018-09-13 15:55:48 +02:00
|
|
|
<?php
|
2018-09-13 16:51:58 +02:00
|
|
|
|
2019-01-20 10:41:58 +01:00
|
|
|
namespace App\Attribut;
|
2018-09-13 15:55:48 +02:00
|
|
|
|
2018-09-14 18:26:09 +02:00
|
|
|
use Doctrine\Common\Collections\Collection;
|
2018-12-08 20:25:29 +01:00
|
|
|
use App\Entity\Meta\RightInterface;
|
2018-09-13 15:55:48 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
|
|
|
interface RightsAttributInterface
|
|
|
|
{
|
2018-12-08 20:25:29 +01:00
|
|
|
/**
|
|
|
|
* @param Collection|RightInterface[] $rights
|
|
|
|
*/
|
2018-09-14 18:26:09 +02:00
|
|
|
public function setRights(Collection $rights): void;
|
2018-09-13 15:55:48 +02:00
|
|
|
|
2018-12-08 20:25:29 +01:00
|
|
|
/**
|
|
|
|
* @return Collection|RightInterface[]
|
|
|
|
*/
|
2018-09-14 18:26:09 +02:00
|
|
|
public function getRights(): Collection;
|
2018-09-13 16:51:58 +02:00
|
|
|
}
|