Entity draft

This commit is contained in:
Kevin Frantz
2018-09-06 12:58:36 +02:00
parent 9520b09db0
commit 2a1f3bd264
12 changed files with 143 additions and 59 deletions

View File

@@ -1,18 +1,17 @@
<?php
namespace App\Entity;
use App\Entity\attribut\IdAttribut;
use App\Entity\attribut\NodeAttribut;
/**
*
* @author kevinfrantz
*
*/
class AbstractSource implements SourceInterface
abstract class AbstractSource implements SourceInterface
{
/**
*
* @var Node
*/
protected $node;
use IdAttribut,NodeAttribut;
/**
*
@@ -20,22 +19,4 @@ class AbstractSource implements SourceInterface
*/
protected $configuration;
/**
*
* @var int
*/
protected $id;
public function setId(int $id): void
{}
public function setNode(NodeInterface $node): void
{}
public function getId(): int
{}
public function getNode(): NodeInterface
{}
}