2018-09-06 12:58:36 +02:00
|
|
|
<?php
|
2018-09-12 23:25:22 +03:00
|
|
|
|
2019-02-17 14:33:19 +01:00
|
|
|
namespace Infinito\Attribut;
|
2018-09-06 12:58:36 +02:00
|
|
|
|
2019-02-17 14:33:19 +01:00
|
|
|
use Infinito\Entity\Source\SourceInterface;
|
2018-09-06 12:58:36 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
|
|
|
interface SourceAttributInterface
|
|
|
|
{
|
2019-02-25 16:38:54 +01:00
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
const SOURCE_ATTRIBUT_NAME = 'source';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return SourceInterface
|
|
|
|
*/
|
2018-09-12 23:25:22 +03:00
|
|
|
public function getSource(): SourceInterface;
|
2018-09-06 12:58:36 +02:00
|
|
|
|
2019-02-25 16:38:54 +01:00
|
|
|
/**
|
|
|
|
* @param SourceInterface $source
|
|
|
|
*/
|
2018-09-12 23:25:22 +03:00
|
|
|
public function setSource(SourceInterface $source): void;
|
|
|
|
}
|