Entity draft

This commit is contained in:
Kevin Frantz
2018-09-06 12:58:36 +02:00
parent 9520b09db0
commit 2a1f3bd264
12 changed files with 143 additions and 59 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Entity\attribut;
use App\Entity\SourceInterface;
/**
*
* @author kevinfrantz
*
*/
trait SourceAttribut {
/**
* @var SourceInterface
*/
protected $source;
public function getSource():SourceInterface{
return $this->source;
}
public function setSource(SourceInterface $source):void{
$this->source = $source;
}
}