mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-12-27 19:46:38 +00:00
Refactored interface
This commit is contained in:
@@ -6,6 +6,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
use App\Entity\Attribut\RightsAttribute;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use App\Entity\Attribut\RelationAttribut;
|
||||
use App\Entity\Source\SourceInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -33,7 +34,7 @@ final class Law extends AbstractMeta implements LawInterface
|
||||
$this->rights = new ArrayCollection();
|
||||
}
|
||||
|
||||
public function isGranted(RelationInterface $relation, string $layer, string $right): bool
|
||||
public function isGranted(SourceInterface $source, string $layer, string $right): bool
|
||||
{
|
||||
/*
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user