mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Optimized constructor of right
This commit is contained in:
@@ -77,6 +77,7 @@ final class Right extends AbstractMeta implements RightInterface
|
||||
parent::__construct();
|
||||
$this->grant = true;
|
||||
$this->reciever = new Reciever();
|
||||
$this->reciever->setRight($this);
|
||||
}
|
||||
|
||||
public function isGranted(SourceInterface $source, string $layer, string $right): bool
|
||||
|
Reference in New Issue
Block a user