mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-18 16:16:02 +02:00
Implemented Permission draft
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Attribut;
|
||||
|
||||
use App\Entity\LawInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
trait LawAttribut {
|
||||
|
||||
/**
|
||||
trait LawAttribut
|
||||
{
|
||||
/**
|
||||
* @var LawInterface
|
||||
*/
|
||||
protected $law;
|
||||
|
||||
public function setLaw(LawInterface $law):void{
|
||||
|
||||
public function setLaw(LawInterface $law): void
|
||||
{
|
||||
$this->law = $law;
|
||||
}
|
||||
|
||||
public function getLaw(): LawInterface{
|
||||
|
||||
public function getLaw(): LawInterface
|
||||
{
|
||||
return $this->law;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user