Added draft for history

This commit is contained in:
Kevin Frantz
2019-02-25 19:59:55 +01:00
parent 463003f029
commit 6d146c8478
7 changed files with 170 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Infinito\Attribut;
use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Meta\History\LogInterface;
/**
* @author kevinfrantz
*/
interface LogsAttributInterface
{
/**
* @var string
*/
const LOGS_ATTRIBUT_NAME = 'logs';
/**
* @param Collection|LogInterface[] $logs
*/
public function setLogs(Collection $logs): void;
/**
* @return Collection|LogInterface[]
*/
public function getLogs(): Collection;
}