Skip to content

Instantly share code, notes, and snippets.

@mathiasverraes
Created January 10, 2014 20:13
Show Gist options
  • Save mathiasverraes/8361728 to your computer and use it in GitHub Desktop.
Save mathiasverraes/8361728 to your computer and use it in GitHub Desktop.
<?php
interface UbiquitousLanguage
{
public function enter(BoundedContext $boundedContext);
}
interface BoundedContext
{
public function getNames();
public function assessWith(ContextMap $contextMap);
}
interface ContinuousIntegration
{
public function unifyModelFrom(BoundedContext $boundedContext);
}
interface ContextMap
{
public function freeTeamsToGo(SeparateWays $separateWays);
public function relateAs(CustomerSupplier $customerSupplier);
public function overlapThrough(SharedKernel $sharedKernel);
public function overlapAs(Conformist $conformist);
}
interface Conformist { }
interface SeparateWays { }
interface PublishedLanguage extends UbiquitousLanguage { }
interface AntiCorruptionLayer { }
interface SharedKernel { }
interface CustomerSupplier { }
interface Trolling {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment