infinito/application/src/Entity/attribut/SourceAttribut.php
2018-09-06 12:58:36 +02:00

26 lines
404 B
PHP

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