Added drafts

This commit is contained in:
Kevin Frantz
2018-11-24 22:16:34 +01:00
parent e97610893d
commit 5be4b7df3c
2 changed files with 143 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Domain\LawManagement;
use App\Entity\Source\SourceInterface;
/**
* Allows to check if a source has rights on a source.
*
* @author kevinfrantz
*/
interface LawPermissionCheckerServiceInterface
{
public function setRequestedSource(SourceInterface $requestedSource): void;
public function setClientSource(SourceInterface $clientSource): void;
public function checkPermission(): bool;
/**
* Sets the permission type.
*
* @param string $type
*/
public function setType(string $type): void;
}