mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-11-05 04:08:46 +00:00
Optimized Entity draft
This commit is contained in:
1 parent
74038092e3
commit
3d42526698
13 files changed
+66
-50
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user