mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented SourceRightManager
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?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;
|
||||
}
|
Reference in New Issue
Block a user