mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 06:47:31 +01:00
26 lines
404 B
PHP
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;
|
||
|
}
|
||
|
}
|
||
|
|