mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-04-05 06:42:20 +00:00
Added draft for history
This commit is contained in:
27
application/symfony/src/Attribut/LogsAttributInterface.php
Normal file
27
application/symfony/src/Attribut/LogsAttributInterface.php
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user