Skip to content

Instantly share code, notes, and snippets.

@shrink0r
Created September 11, 2014 13:35
Show Gist options
  • Save shrink0r/7105e7c2608b54234732 to your computer and use it in GitHub Desktop.
Save shrink0r/7105e7c2608b54234732 to your computer and use it in GitHub Desktop.
<?php
namespace Honeybee\Core\Domain\UnitOfWork;
use Honeybee\Core\Domain\Model\IAggregateRoot;
interface IUnitOfWork
{
public function register(IAggregateRoot $aggregate_root);
public function checkout($aggregate_root_id);
public function commit();
public function rollback();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment