mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Added draft for history
This commit is contained in:
14
application/symfony/src/Entity/Meta/History/Journal.php
Normal file
14
application/symfony/src/Entity/Meta/History/Journal.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Entity\Meta\History;
|
||||
|
||||
use Infinito\Entity\Meta\AbstractMeta;
|
||||
use Infinito\Attribut\LogsAttribut;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
final class Journal extends AbstractMeta implements JournalInterface
|
||||
{
|
||||
use LogsAttribut;
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Entity\Meta\History;
|
||||
|
||||
use Infinito\Attribut\LogsAttributInterface;
|
||||
use Infinito\Entity\Meta\MetaInterface;
|
||||
|
||||
/**
|
||||
* Containes the logs with the action which are comited to a source.
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface JournalInterface extends LogsAttributInterface, MetaInterface
|
||||
{
|
||||
}
|
18
application/symfony/src/Entity/Meta/History/LogInterface.php
Normal file
18
application/symfony/src/Entity/Meta/History/LogInterface.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Entity\Meta\History;
|
||||
|
||||
use Infinito\Entity\EntityInterface;
|
||||
use Infinito\Attribut\ActionTypeAttributInterface;
|
||||
use Infinito\Attribut\RecieverAttributInterface;
|
||||
use Infinito\Attribut\SourceAttributInterface;
|
||||
use Infinito\Attribut\TimestampAttributInterface;
|
||||
|
||||
/**
|
||||
* Containes a log entry to every request wich is handled by infinito.
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface LogInterface extends EntityInterface, ActionTypeAttributInterface, RecieverAttributInterface, SourceAttributInterface, TimestampAttributInterface
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user