2018-09-05 15:46:14 +02:00
|
|
|
<?php
|
2018-09-12 23:25:22 +03:00
|
|
|
|
2018-09-05 15:46:14 +02:00
|
|
|
namespace App\Entity;
|
|
|
|
|
2018-09-06 14:03:08 +02:00
|
|
|
use App\Entity\Attribut\IdAttribut;
|
|
|
|
use App\Entity\Attribut\NodeAttribut;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
2018-09-06 12:58:36 +02:00
|
|
|
|
2018-09-05 15:46:14 +02:00
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
2018-09-12 23:25:22 +03:00
|
|
|
*
|
2018-09-06 13:52:34 +02:00
|
|
|
* @see https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/inheritance-mapping.html
|
2018-09-06 14:52:01 +02:00
|
|
|
* @ORM\Entity
|
|
|
|
* @ORM\InheritanceType("JOINED")
|
|
|
|
* @ORM\DiscriminatorColumn(name="discr", type="string")
|
2018-09-12 23:25:22 +03:00
|
|
|
* @ORM\DiscriminatorMap({"user" = "User"})
|
2018-09-05 15:46:14 +02:00
|
|
|
*/
|
2018-09-06 12:58:36 +02:00
|
|
|
abstract class AbstractSource implements SourceInterface
|
2018-09-12 23:25:22 +03:00
|
|
|
{
|
2018-09-06 12:58:36 +02:00
|
|
|
use IdAttribut,NodeAttribut;
|
2018-09-12 23:25:22 +03:00
|
|
|
|
2018-09-05 15:46:14 +02:00
|
|
|
/**
|
|
|
|
* @var ConfigurationInterface
|
|
|
|
*/
|
|
|
|
protected $configuration;
|
2018-09-12 23:25:22 +03:00
|
|
|
}
|