infinito/application/src/Entity/Attribut/LawAttribut.php

27 lines
375 B
PHP
Raw Normal View History

2018-09-13 14:39:03 +02:00
<?php
namespace App\Entity\Attribut;
use App\Entity\LawInterface;
/**
*
* @author kevinfrantz
*
*/
trait LawAttribut {
/**
* @var LawInterface
*/
protected $law;
public function setLaw(LawInterface $law):void{
$this->law = $law;
}
public function getLaw(): LawInterface{
return $this->law;
}
}