Implemented Permission draft

This commit is contained in:
Kevin Frantz
2018-09-13 16:51:58 +02:00
parent 92886a14ce
commit 69f2beac72
28 changed files with 203 additions and 143 deletions

View File

@@ -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;
}
}