backup: live-stand vor erstem git-deployment

This commit is contained in:
2026-06-29 11:04:33 +02:00
commit 90368b8a29
699 changed files with 162032 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
<?php
namespace DynCom\mysyde\common\interfaces;
/**
* Created by PhpStorm.
* User: Bauer
* Date: 6/2/2015
* Time: 1:35 PM
*/
/**
* Created by PhpStorm.
* User: Bauer
* Date: 6/2/2015
* Time: 10:04 AM
*/
interface UnitOfWorkInterface
{
/**
* @param Entity $entity
* @return mixed
*/
public function registerNew(Entity $entity);
/**
* @param Entity $entity
* @return mixed
*/
public function registerClean(Entity $entity);
/**
* @param Entity $entity
* @return mixed
*/
public function registerDirty(Entity $entity);
/**
* @param Entity $entity
* @return mixed
*/
public function registerRemoved(Entity $entity);
/**
* @param Entity $entity
* @param $state
* @return mixed
*/
public function registerEntity(Entity $entity, $state);
/**
* @param Entity $entity
* @return mixed
*/
public function unregisterEntity(Entity $entity);
public function clear();
public function commit();
public function rollback();
}