Skip to content

Documentation

This is an automatically generated documentation for Documentation.

Namespaces

\Codefy\CommandBus

Classes

Class Description
InvalidPayloadException
Odin The main Odin class is a CommandBus, which is effectively a decorator
around another CommandBus interface.
PayloadCommand
PropertyCommand Abstract class for constructing property mappings.
UndefinedValueException

Interfaces

Interface Description
CacheableCommand
Command
CommandBus
CommandHandler
CommandHandlerResolver
CommandQueuer
Container
Decorator
HasCacheOptions
QueueableCommand
TransactionalCommand

\Codefy\CommandBus\Busses

Classes

Class Description
SynchronousCommandBus

\Codefy\CommandBus\Containers

Classes

Class Description
ContainerFactory
InjectorContainer
NativeContainer
Psr11Container

\Codefy\CommandBus\Decorators

Classes

Class Description
CachingDecorator
CommandQueueingDecorator Queue commands which implement QueueableCommand into a CommandQueuer.
EventDispatchingDecorator
LoggingDecorator
TransactionalCommandLockingDecorator TransactionalCommandLockingDecorator treats commands as transactions. Meaning that any
subsequent Commands passed to the bus from inside the relevant CommandHandler
will not be executed until the initial command is completed.

Interfaces

Interface Description
EventDispatcher

\Codefy\CommandBus\Exceptions

Classes

Class Description
CommandCouldNotBeHandledException
CommandPropertyNotFoundException
OdinException
UnresolvableCommandHandlerException

\Codefy\CommandBus\Handlers

Classes

Class Description
CallableCommandHandler
LazyLoadingCommandHandler

\Codefy\CommandBus\Resolvers

Classes

Class Description
NativeCommandHandlerResolver

\Codefy\CommandBus\Traits

Traits

Trait Description
InnerBusAware
PayloadAware

\Codefy\Domain

Interfaces

Interface Description
IdentityMap Holds unique Aggregate instances in memory, mapped by id.
Metadata
UnitOfWork A unit of work that acts both as an identity map and a change tracker.

\Codefy\Domain\Aggregate

Classes

Class Description
AggregateNotFoundException
AggregateType
EventSourcedAggregate
EventSourcedAggregateRepository
InvalidAggregateIdGivenException
MultipleInstancesOfAggregateDetectedException

Interfaces

Interface Description
AggregateId
AggregateRepository
AggregateRoot Entities that are an aggregate root.
AggregateRootFactory
IsEventSourced
RecordsEvents An object that records the events that happened to it
since the last time it was cleared, or since it was
restored from persistence.

\Codefy\Domain\EventSourcing

Classes

Class Description
AggregateChanged Something that happened in the past and that is of importance to the business.
BaseProjection
CorruptEventStreamException
DomainEventIsImmutableException
DomainEvents
DomainEventsArray
EventId
EventName
EventStoreTransaction Code originated at https://github.com/beberlei/litecqrs-php/
EventStream
EventStreamIsEmptyException
InMemoryEventStore
TransactionId

Interfaces

Interface Description
DomainEvent Something that happened in the past and that is of importance to the business.
EventSourcingException
EventStore Event store for publishing a domain event
and retrieving an aggregate's history.
Projection
TransactionalEventStore Event store for publishing a domain event
and retrieving an aggregate's history.

\Codefy\Domain\Model

Classes

Class Description
EntityNotFoundException

Interfaces

Interface Description
Entity
EntityId
EntityRepository

\Codefy\EventBus

Classes

Class Description
CommandEventBus
GenericPublisher
NullPublisher

Interfaces

Interface Description
DomainEventPublisher
DomainEventSubscriber
EventBus

\Codefy\QueryBus

Classes

Class Description
Enquire
UnresolvableQueryHandlerException

Interfaces

Interface Description
Query
QueryBus
QueryHandler
QueryHandlerResolver

\Codefy\QueryBus\Busses

Classes

Class Description
SynchronousQueryBus

\Codefy\QueryBus\Handlers

Classes

Class Description
CallableQueryHandler
LazyLoadingQueryHandler

\Codefy\QueryBus\Resolvers

Classes

Class Description
NativeQueryHandlerResolver

\Codefy\Traits

Traits

Trait Description
EventProducerAware
EventSourcedAware
EventSourcedRepositoryAware
IdentityMapAware
PublisherAware
ReplayAware
SubscriberAware
WhenAware

Automatically generated on 2025-10-13