infinito/application/src/Entity/Attribut/SourceAttribut.php
2018-11-23 13:37:41 +01:00

27 lines
401 B
PHP

<?php
namespace App\Entity\Attribut;
use App\Entity\Source\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;
}
}