mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 02:06:23 +02:00
27 lines
592 B
PHP
27 lines
592 B
PHP
<?php
|
|
|
|
namespace App\Domain\SourceManagement;
|
|
|
|
use App\Entity\Meta\RightInterface;
|
|
use App\Exception\AllreadySetException;
|
|
use App\Exception\AllreadyDefinedException;
|
|
use App\Exception\NotSetException;
|
|
|
|
interface SourceRightManagerInterface
|
|
{
|
|
/**
|
|
* @param RightInterface $right
|
|
*
|
|
* @throws AllreadySetException
|
|
* @throws AllreadyDefinedException
|
|
*/
|
|
public function addRight(RightInterface $right): void;
|
|
|
|
/**
|
|
* @param RightInterface $right
|
|
*
|
|
* @throws NotSetException
|
|
*/
|
|
public function removeRight(RightInterface $right): void;
|
|
}
|