PHP Class DDD\Domain\DomainEventPublisher

Datei anzeigen Open project: carlosbuenosvinos/ddd Class Usage Examples

Public Methods

Method Description
__clone ( )
instance ( )
ofId ( $id )
publish ( DDD\Domain\DomainEvent $aDomainEvent )
subscribe ( $aDomainEventSubscriber )
unsubscribe ( $id )

Private Methods

Method Description
__construct ( )

Method Details

__clone() public method

public __clone ( )

instance() public static method

public static instance ( )

ofId() public method

public ofId ( $id )

publish() public method

public publish ( DDD\Domain\DomainEvent $aDomainEvent )
$aDomainEvent DDD\Domain\DomainEvent

subscribe() public method

public subscribe ( $aDomainEventSubscriber )

unsubscribe() public method

public unsubscribe ( $id )