mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
27 lines
401 B
PHP
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;
|
|
}
|
|
}
|