Optimized for SPA

This commit is contained in:
Kevin Frantz
2019-01-05 23:52:37 +01:00
parent 9e685260e9
commit bccd6efaff
393 changed files with 253 additions and 37 deletions

View File

@@ -0,0 +1,26 @@
<?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;
}
}