repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/HandlerDescriptor.php | src/CommandBus/HandlerDescriptor.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use Closure;
use ReflectionFunction;
final class HandlerDescriptor
{
private readonly Closure $callable;
private readonly string $name;
public function __construct(callable $callable)
{
$this->callable = $callable... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/ServiceHandlerProvider.php | src/CommandBus/ServiceHandlerProvider.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
final class ServiceHandlerProvider implements HandlerProvider
{
private bool $initialized = false;
/** @var array<class-string, list<HandlerDescriptor>> */
private array $handlers = [];
/** @param iterable<object> $servic... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/InvalidHandleMethod.php | src/CommandBus/InvalidHandleMethod.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use InvalidArgumentException;
use function sprintf;
final class InvalidHandleMethod extends InvalidArgumentException
{
public static function noParameters(string $aggregateClass, string $method): self
{
return new self(sp... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/SyncCommandBus.php | src/CommandBus/SyncCommandBus.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry;
use Patchlevel\EventSourcing\Repository\RepositoryManager;
use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
use function count;
use function is_a... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/ChainHandlerProvider.php | src/CommandBus/ChainHandlerProvider.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
final class ChainHandlerProvider implements HandlerProvider
{
/** @param iterable<HandlerProvider> $providers */
public function __construct(
private readonly iterable $providers,
) {
}
/**
* @param class-... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/MultipleHandlersFound.php | src/CommandBus/MultipleHandlersFound.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use RuntimeException;
use function sprintf;
final class MultipleHandlersFound extends RuntimeException
{
/** @param class-string $commandClass */
public function __construct(string $commandClass)
{
parent::__construct... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/HandlerFinder.php | src/CommandBus/HandlerFinder.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use Patchlevel\EventSourcing\Attribute\Handle;
use ReflectionClass;
use Symfony\Component\TypeInfo\Type\ObjectType;
use Symfony\Component\TypeInfo\TypeResolver\TypeResolver;
final class HandlerFinder
{
/**
* @param class-string $... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/HandlerProvider.php | src/CommandBus/HandlerProvider.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
interface HandlerProvider
{
/**
* @param class-string $commandClass
*
* @return iterable<int, HandlerDescriptor>
*/
public function handlerForCommand(string $commandClass): iterable;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/HandlerNotFound.php | src/CommandBus/HandlerNotFound.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use RuntimeException;
use function sprintf;
final class HandlerNotFound extends RuntimeException
{
/** @param class-string $commandClass */
public function __construct(string $commandClass)
{
parent::__construct(sprin... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/AggregateHandlerProvider.php | src/CommandBus/AggregateHandlerProvider.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use Patchlevel\EventSourcing\CommandBus\Handler\CreateAggregateHandler;
use Patchlevel\EventSourcing\CommandBus\Handler\DefaultParameterResolver;
use Patchlevel\EventSourcing\CommandBus\Handler\UpdateAggregateHandler;
use Patchlevel\EventS... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/ServiceLocator.php | src/CommandBus/ServiceLocator.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use Psr\Container\ContainerInterface;
use function array_key_exists;
final class ServiceLocator implements ContainerInterface
{
/** @param array<string, mixed> $services */
public function __construct(
private readonly ar... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/ServiceNotFound.php | src/CommandBus/ServiceNotFound.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
use Psr\Container\NotFoundExceptionInterface;
use RuntimeException;
use function sprintf;
final class ServiceNotFound extends RuntimeException implements NotFoundExceptionInterface
{
public function __construct(string $id)
{
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/HandlerReference.php | src/CommandBus/HandlerReference.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus;
final class HandlerReference
{
/** @param class-string $commandClass */
public function __construct(
public readonly string $commandClass,
public readonly string $method,
public readonly bool $static,
) ... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/Handler/ServiceNotResolvable.php | src/CommandBus/Handler/ServiceNotResolvable.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus\Handler;
use RuntimeException;
use Throwable;
use function sprintf;
final class ServiceNotResolvable extends RuntimeException
{
/** @param class-string $class */
public static function missingType(string $class, string $propertyNa... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/Handler/DefaultParameterResolver.php | src/CommandBus/Handler/DefaultParameterResolver.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus\Handler;
use Patchlevel\EventSourcing\Attribute\Inject;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use ReflectionMethod;
use ReflectionParameter;
use Symfony\Component\TypeInfo\Type\ObjectType;
use ... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/Handler/UpdateAggregateHandler.php | src/CommandBus/Handler/UpdateAggregateHandler.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus\Handler;
use InvalidArgumentException;
use Patchlevel\EventSourcing\Aggregate\AggregateRoot;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel\EventSourcing\Repository\Reposito... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/Handler/ParameterResolver.php | src/CommandBus/Handler/ParameterResolver.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus\Handler;
use ReflectionMethod;
interface ParameterResolver
{
/** @return iterable<mixed> */
public function resolve(ReflectionMethod $method, object $command): iterable;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/Handler/AggregateIdNotFound.php | src/CommandBus/Handler/AggregateIdNotFound.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus\Handler;
use RuntimeException;
use function sprintf;
final class AggregateIdNotFound extends RuntimeException
{
/** @param class-string $commandClass */
public function __construct(string $commandClass)
{
parent::__con... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/src/CommandBus/Handler/CreateAggregateHandler.php | src/CommandBus/Handler/CreateAggregateHandler.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\CommandBus\Handler;
use InvalidArgumentException;
use Patchlevel\EventSourcing\Aggregate\AggregateRoot;
use Patchlevel\EventSourcing\Repository\RepositoryManager;
use ReflectionClass;
final class CreateAggregateHandler
{
/** @param class-string<A... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/DbalManager.php | tests/DbalManager.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver\AbstractSQLiteDriver;
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Doctrine\DBAL\Tools\DsnParser;
use Patchlevel\EventSourcing\Console\DoctrineHelper... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/ReturnCallback.php | tests/ReturnCallback.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests;
use PHPUnit\Framework\Assert;
use function array_shift;
final class ReturnCallback
{
/** @param list<array{0: list<mixed>, 1?: mixed}> $series */
public function __construct(
private array $series,
) {
}
public fu... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/bootstrap.php | tests/bootstrap.php | <?php
declare(strict_types=1);
require __DIR__ . '/../vendor/autoload.php';
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Profile.php | tests/Integration/Subscription/Profile.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel\EventS... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/SubscriptionTest.php | tests/Integration/Subscription/SubscriptionTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription;
use DateTimeImmutable;
use Doctrine\DBAL\Connection;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Attribute\Subscriber;
use Patchlevel\Even... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | true |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/ProfileId.php | tests/Integration/Subscription/ProfileId.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour;
final class ProfileId implements AggregateRootId
{
use RamseyUuidV7Behaviour;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Subscriber/ErrorProducerWithSelfRecoverySubscriber.php | tests/Integration/Subscription/Subscriber/ErrorProducerWithSelfRecoverySubscriber.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Subscriber;
use Patchlevel\EventSourcing\Attribute\OnFailed;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Attribute\Subscriber;
use Patchlev... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Subscriber/ProfileProjection.php | tests/Integration/Subscription/Subscriber/ProfileProjection.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Subscriber;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Table;
use Patchlevel\EventSourcing\Attribute\Projector;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe;
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Subscriber/ProfileProcessor.php | tests/Integration/Subscription/Subscriber/ProfileProcessor.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Subscriber;
use Patchlevel\EventSourcing\Attribute\Processor;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Repository\RepositoryManager;
use Patchlevel\EventSourcing\Tests\Integration\Su... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Subscriber/ErrorProducerSubscriber.php | tests/Integration/Subscription/Subscriber/ErrorProducerSubscriber.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Subscriber;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Attribute\Subscriber;
use Patchlevel\EventSourcing\Attribute\Teardown;
use Patchlev... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Subscriber/LookupSubscriber.php | tests/Integration/Subscription/Subscriber/LookupSubscriber.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Subscriber;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Table;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Attribute\Subscriber;... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Subscriber/ProfileNewProjection.php | tests/Integration/Subscription/Subscriber/ProfileNewProjection.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Subscriber;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Table;
use Patchlevel\EventSourcing\Attribute\Projector;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe;
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Subscriber/MigrateAggregateToStreamStoreSubscriber.php | tests/Integration/Subscription/Subscriber/MigrateAggregateToStreamStoreSubscriber.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Subscriber;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Attribute\Subscriber;
use Patchlevel\EventSourcing\Attribute\Teardown;
use Patchlev... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Events/ProfileCreated.php | tests/Integration/Subscription/Events/ProfileCreated.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\Subscription\ProfileId;
#[Event('profile.created')]
final class ProfileCreated
{
public function __construct(
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Events/AdminPromoted.php | tests/Integration/Subscription/Events/AdminPromoted.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\Subscription\ProfileId;
#[Event('profile.admin_promoted')]
final class AdminPromoted
{
public function __construct... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Subscription/Events/NameChanged.php | tests/Integration/Subscription/Events/NameChanged.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Subscription\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\Subscription\ProfileId;
#[Event('profile.name_changed')]
final class NameChanged
{
public function __construct(
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/PersonalData/Profile.php | tests/Integration/PersonalData/Profile.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\PersonalData;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel\EventS... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/PersonalData/PersonalDataTest.php | tests/Integration/PersonalData/PersonalDataTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\PersonalData;
use Doctrine\DBAL\Connection;
use Patchlevel\EventSourcing\Cryptography\DoctrineCipherKeyStore;
use Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry;
use Patchlevel\EventSourcing\Repository\DefaultR... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/PersonalData/ProfileId.php | tests/Integration/PersonalData/ProfileId.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\PersonalData;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour;
final class ProfileId implements AggregateRootId
{
use RamseyUuidV7Behaviour;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/PersonalData/Processor/DeletePersonalDataProcessor.php | tests/Integration/PersonalData/Processor/DeletePersonalDataProcessor.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\PersonalData\Processor;
use Patchlevel\EventSourcing\Aggregate\AggregateHeader;
use Patchlevel\EventSourcing\Attribute\Processor;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Message\Message;
use Pat... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/PersonalData/Events/ProfileCreated.php | tests/Integration/PersonalData/Events/ProfileCreated.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\PersonalData\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\PersonalData\ProfileId;
use Patchlevel\Hydrator\Attribute\DataSubjectId;
use Patchlevel\Hydrator\Attribute\PersonalData... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/PersonalData/Events/PersonalDataRemoved.php | tests/Integration/PersonalData/Events/PersonalDataRemoved.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\PersonalData\Events;
use Patchlevel\EventSourcing\Attribute\Event;
#[Event('profile.personal_data_removed')]
final class PersonalDataRemoved
{
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/PersonalData/Events/NameChanged.php | tests/Integration/PersonalData/Events/NameChanged.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\PersonalData\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\PersonalData\ProfileId;
use Patchlevel\Hydrator\Attribute\DataSubjectId;
use Patchlevel\Hydrator\Attribute\PersonalData... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/Profile.php | tests/Integration/MicroAggregate/Profile.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel\Even... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/SendEmailMock.php | tests/Integration/MicroAggregate/SendEmailMock.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate;
final class SendEmailMock
{
private static int $count = 0;
public static function send(): void
{
self::$count++;
}
public static function count(): int
{
return self::$count;
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/PersonalInformation.php | tests/Integration/MicroAggregate/PersonalInformation.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel\Even... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/MicroAggregateIntegrationTest.php | tests/Integration/MicroAggregate/MicroAggregateIntegrationTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate;
use Doctrine\DBAL\Connection;
use Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry;
use Patchlevel\EventSourcing\Repository\DefaultRepositoryManager;
use Patchlevel\EventSourcing\Schema\DoctrineSc... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/ProfileId.php | tests/Integration/MicroAggregate/ProfileId.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour;
final class ProfileId implements AggregateRootId
{
use RamseyUuidV7Behaviour;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/Projection/ProfileProjector.php | tests/Integration/MicroAggregate/Projection/ProfileProjector.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate\Projection;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Table;
use Patchlevel\EventSourcing\Attribute\Projector;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/Events/ProfileCreated.php | tests/Integration/MicroAggregate/Events/ProfileCreated.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\MicroAggregate\ProfileId;
#[Event('profile.created')]
final class ProfileCreated
{
public function __construct(
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/MicroAggregate/Events/NameChanged.php | tests/Integration/MicroAggregate/Events/NameChanged.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\MicroAggregate\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\MicroAggregate\ProfileId;
#[Event('profile.name_changed')]
final class NameChanged
{
public function __construct... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/Profile.php | tests/Integration/ChildAggregate/Profile.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\ChildAggregate;
use Pat... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/SendEmailMock.php | tests/Integration/ChildAggregate/SendEmailMock.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate;
final class SendEmailMock
{
private static int $count = 0;
public static function send(): void
{
self::$count++;
}
public static function count(): int
{
return self::$count;
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/PersonalInformation.php | tests/Integration/ChildAggregate/PersonalInformation.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate;
use Patchlevel\EventSourcing\Aggregate\BasicChildAggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Tests\Integration\ChildAggregate\Events\NameChanged;
final class PersonalInformat... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/Views.php | tests/Integration/ChildAggregate/Views.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate;
use Patchlevel\EventSourcing\Aggregate\BasicChildAggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Tests\Integration\ChildAggregate\Events\ViewTracked;
final class Views extends Ba... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/ProfileId.php | tests/Integration/ChildAggregate/ProfileId.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour;
final class ProfileId implements AggregateRootId
{
use RamseyUuidV7Behaviour;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/ChildAggregateIntegrationTest.php | tests/Integration/ChildAggregate/ChildAggregateIntegrationTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate;
use Doctrine\DBAL\Connection;
use Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry;
use Patchlevel\EventSourcing\Repository\DefaultRepositoryManager;
use Patchlevel\EventSourcing\Schema\DoctrineSc... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/Projection/ProfileProjector.php | tests/Integration/ChildAggregate/Projection/ProfileProjector.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate\Projection;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Table;
use Patchlevel\EventSourcing\Attribute\Projector;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\Subscribe... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/Events/ViewTracked.php | tests/Integration/ChildAggregate/Events/ViewTracked.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate\Events;
use Patchlevel\EventSourcing\Attribute\Event;
#[Event('profile.view_tracked')]
final class ViewTracked
{
public function __construct()
{
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/Events/ProfileCreated.php | tests/Integration/ChildAggregate/Events/ProfileCreated.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\ChildAggregate\ProfileId;
#[Event('profile.created')]
final class ProfileCreated
{
public function __construct(
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/ChildAggregate/Events/NameChanged.php | tests/Integration/ChildAggregate/Events/NameChanged.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\ChildAggregate\Events;
use Patchlevel\EventSourcing\Attribute\Event;
#[Event('profile.name_changed')]
final class NameChanged
{
public function __construct(
public string $name,
) {
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BankAccountSplitStream/BankAccount.php | tests/Integration/BankAccountSplitStream/BankAccount.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchle... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BankAccountSplitStream/AccountId.php | tests/Integration/BankAccountSplitStream/AccountId.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour;
final class AccountId implements AggregateRootId
{
use RamseyUuidV7Behaviour;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BankAccountSplitStream/IntegrationTest.php | tests/Integration/BankAccountSplitStream/IntegrationTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream;
use Doctrine\DBAL\Connection;
use Patchlevel\EventSourcing\Message\Message;
use Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry;
use Patchlevel\EventSourcing\Metadata\Event\AttributeEvent... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BankAccountSplitStream/Projection/BankAccountProjector.php | tests/Integration/BankAccountSplitStream/Projection/BankAccountProjector.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream\Projection;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Table;
use Patchlevel\EventSourcing\Attribute\Projector;
use Patchlevel\EventSourcing\Attribute\Setup;
use Patchlevel\EventSourcing\Attribute\S... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BankAccountSplitStream/Events/BalanceAdded.php | tests/Integration/BankAccountSplitStream/Events/BalanceAdded.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream\AccountId;
#[Event('bank_account.balance_added')]
final class BalanceAdded
{
publ... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BankAccountSplitStream/Events/BankAccountCreated.php | tests/Integration/BankAccountSplitStream/Events/BankAccountCreated.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream\AccountId;
#[Event('bank_account.created')]
final class BankAccountCreated
{
publ... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BankAccountSplitStream/Events/MonthPassed.php | tests/Integration/BankAccountSplitStream/Events/MonthPassed.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Attribute\SplitStream;
use Patchlevel\EventSourcing\Tests\Integration\BankAccountSplitStream\AccountId;
#[Event('bank_account.... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Profile.php | tests/Integration/BasicImplementation/Profile.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/SendEmailMock.php | tests/Integration/BasicImplementation/SendEmailMock.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation;
final class SendEmailMock
{
private static int $count = 0;
public static function send(): void
{
self::$count++;
}
public static function count(): int
{
return self::$cou... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/ProfileWithCommands.php | tests/Integration/BasicImplementation/ProfileWithCommands.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Handle;
use Patchl... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/BasicIntegrationTest.php | tests/Integration/BasicImplementation/BasicIntegrationTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation;
use DateTimeImmutable;
use Doctrine\DBAL\Connection;
use Patchlevel\EventSourcing\Clock\SystemClock;
use Patchlevel\EventSourcing\CommandBus\ServiceLocator;
use Patchlevel\EventSourcing\CommandBus\SyncCommandBus;... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/ProfileId.php | tests/Integration/BasicImplementation/ProfileId.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour;
final class ProfileId implements AggregateRootId
{
use RamseyUuidV7Behaviour;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Processor/SendEmailProcessor.php | tests/Integration/BasicImplementation/Processor/SendEmailProcessor.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Processor;
use Patchlevel\EventSourcing\Attribute\Processor;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\Message\Message;
use Patchlevel\EventSourcing\Tests\Integration\BasicImpl... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Query/QueryProfileName.php | tests/Integration/BasicImplementation/Query/QueryProfileName.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Query;
use Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\ProfileId;
final readonly class QueryProfileName
{
public function __construct(public ProfileId $id)
{
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Projection/ProfileProjector.php | tests/Integration/BasicImplementation/Projection/ProfileProjector.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Projection;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Table;
use Patchlevel\EventSourcing\Attribute\Answer;
use Patchlevel\EventSourcing\Attribute\Projector;
use Patchlevel\EventSourcing\Attribute\Set... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/MessageDecorator/FooMessageDecorator.php | tests/Integration/BasicImplementation/MessageDecorator/FooMessageDecorator.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\MessageDecorator;
use Patchlevel\EventSourcing\Message\Message;
use Patchlevel\EventSourcing\Repository\MessageDecorator\MessageDecorator;
use Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Header\... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Events/ProfileCreated.php | tests/Integration/BasicImplementation/Events/ProfileCreated.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\ProfileId;
#[Event('profile.created', aliases: ['profile_was_created'])]
final class Profil... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Events/NameChanged.php | tests/Integration/BasicImplementation/Events/NameChanged.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Events;
use Patchlevel\EventSourcing\Attribute\Event;
#[Event('profile.name_changed')]
final class NameChanged
{
public function __construct(
public string $name,
) {
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Header/BazHeader.php | tests/Integration/BasicImplementation/Header/BazHeader.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Header;
use Patchlevel\EventSourcing\Attribute\Header;
/** @immutable */
#[Header('baz')]
final class BazHeader
{
public function __construct(
public readonly string $data,
) {
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Header/FooHeader.php | tests/Integration/BasicImplementation/Header/FooHeader.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Header;
use Patchlevel\EventSourcing\Attribute\Header;
/** @immutable */
#[Header('foo')]
final class FooHeader
{
public function __construct(
public readonly string $data,
) {
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Command/CreateProfile.php | tests/Integration/BasicImplementation/Command/CreateProfile.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Command;
use Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\ProfileId;
final class CreateProfile
{
public function __construct(
public readonly ProfileId $id,
public readonly s... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/BasicImplementation/Command/ChangeProfileName.php | tests/Integration/BasicImplementation/Command/ChangeProfileName.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\Command;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel\EventSourcing\Tests\Integration\BasicImplementation\ProfileId;
final class ChangeProfileName
{
public function __construct(
#[Id]
... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Store/Profile.php | tests/Integration/Store/Profile.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Store;
use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot;
use Patchlevel\EventSourcing\Attribute\Aggregate;
use Patchlevel\EventSourcing\Attribute\Apply;
use Patchlevel\EventSourcing\Attribute\Id;
use Patchlevel\EventSourcing... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Store/StreamDoctrineDbalStoreTest.php | tests/Integration/Store/StreamDoctrineDbalStoreTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Store;
use DateTimeImmutable;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Schema;
use Patchlevel\EventSourcing\Clock\FrozenClock;
use Patchlevel\EventSourcing\Message\Message;
use Patchlevel\EventSourcing\Schema\DoctrineSc... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Store/DoctrineDbalStoreTest.php | tests/Integration/Store/DoctrineDbalStoreTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Store;
use DateTimeImmutable;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema\Schema;
use Patchlevel\EventSourcing\Aggregate\AggregateHeader;
use Patchlevel\EventSourcing\Message\Message;
use Patchlevel\EventSourcing\Schema\Do... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Store/ProfileId.php | tests/Integration/Store/ProfileId.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Store;
use Patchlevel\EventSourcing\Aggregate\AggregateRootId;
use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour;
final class ProfileId implements AggregateRootId
{
use RamseyUuidV7Behaviour;
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Store/Events/ExternEvent.php | tests/Integration/Store/Events/ExternEvent.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Store\Events;
use Patchlevel\EventSourcing\Attribute\Event;
#[Event('extern')]
final class ExternEvent
{
public function __construct(
public string $message,
) {
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Integration/Store/Events/ProfileCreated.php | tests/Integration/Store/Events/ProfileCreated.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Integration\Store\Events;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Tests\Integration\Store\ProfileId;
#[Event('profile.created')]
final class ProfileCreated
{
public function __construct(
public Pro... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Architecture/FinalClassesTest.php | tests/Architecture/FinalClassesTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Architecture;
use Patchlevel\EventSourcing\Attribute\Subscriber;
use PHPat\Selector\Selector;
use PHPat\Test\Builder\Rule;
use PHPat\Test\PHPat;
final class FinalClassesTest
{
public function testFinalClasses(): Rule
{
return PH... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/EventBus/DefaultEventBusTest.php | tests/Unit/EventBus/DefaultEventBusTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\EventBus;
use LogicException;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\EventBus\Consumer;
use Patchlevel\EventSourcing\EventBus\DefaultEventBus;
use Patchlevel\EventSourcing\Message\Message;
use Patchle... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/EventBus/Psr14EventBusTest.php | tests/Unit/EventBus/Psr14EventBusTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\EventBus;
use Patchlevel\EventSourcing\EventBus\Psr14EventBus;
use Patchlevel\EventSourcing\Message\Message;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\Email;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileCreated;
use Patchlev... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/EventBus/DefaultConsumerTest.php | tests/Unit/EventBus/DefaultConsumerTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\EventBus;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\EventBus\DefaultConsumer;
use Patchlevel\EventSourcing\EventBus\ListenerDescriptor;
use Patchlevel\EventSourcing\EventBus\ListenerProvider;
use Patchle... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/EventBus/ListenerDescriptorTest.php | tests/Unit/EventBus/ListenerDescriptorTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\EventBus;
use Patchlevel\EventSourcing\EventBus\ListenerDescriptor;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\DummyListener;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhp;
use PHPUnit\Frame... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/EventBus/AttributeListenerProviderTest.php | tests/Unit/EventBus/AttributeListenerProviderTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\EventBus;
use Patchlevel\EventSourcing\Attribute\Subscribe;
use Patchlevel\EventSourcing\EventBus\AttributeListenerProvider;
use Patchlevel\EventSourcing\EventBus\ListenerDescriptor;
use Patchlevel\EventSourcing\Message\Message;
use Patchle... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/Metadata/ClassFinderTest.php | tests/Unit/Metadata/ClassFinderTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\Metadata;
use Patchlevel\EventSourcing\Metadata\ClassFinder;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
#[CoversClass(ClassFinder::class)]
final class ClassFinderTest extends TestCase
{
public functio... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/Metadata/Event/AttributeEventMetadataFactoryTest.php | tests/Unit/Metadata/Event/AttributeEventMetadataFactoryTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\Metadata\Event;
use Patchlevel\EventSourcing\Attribute\Event;
use Patchlevel\EventSourcing\Attribute\SplitStream;
use Patchlevel\EventSourcing\Metadata\Event\AttributeEventMetadataFactory;
use Patchlevel\EventSourcing\Metadata\Event\ClassIs... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/Metadata/Event/AttributeEventRegistryFactoryTest.php | tests/Unit/Metadata/Event/AttributeEventRegistryFactoryTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\Metadata\Event;
use Patchlevel\EventSourcing\Metadata\Event\AttributeEventRegistryFactory;
use Patchlevel\EventSourcing\Metadata\Event\EventAlreadyInRegistry;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\Message;
use Patchlevel\EventSour... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/Metadata/Event/EventRegistryTest.php | tests/Unit/Metadata/Event/EventRegistryTest.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\Metadata\Event;
use Patchlevel\EventSourcing\Metadata\Event\EventClassNotRegistered;
use Patchlevel\EventSourcing\Metadata\Event\EventNameNotRegistered;
use Patchlevel\EventSourcing\Metadata\Event\EventRegistry;
use Patchlevel\EventSourcing... | php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/Metadata/Event/Fixture/EmailChanged.php | tests/Unit/Metadata/Event/Fixture/EmailChanged.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\Metadata\Event\Fixture;
use Patchlevel\EventSourcing\Attribute\Event;
#[Event('email_changed')]
final class EmailChanged
{
public function __construct(
public string $id,
public string $email,
) {
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
patchlevel/event-sourcing | https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Unit/Metadata/Event/Fixture/EmailChanged2.php | tests/Unit/Metadata/Event/Fixture/EmailChanged2.php | <?php
declare(strict_types=1);
namespace Patchlevel\EventSourcing\Tests\Unit\Metadata\Event\Fixture;
use Patchlevel\EventSourcing\Attribute\Event;
#[Event('email_changed')]
final class EmailChanged2
{
public function __construct(
public string $id,
public string $email,
) {
}
}
| php | MIT | 183a44ce065b249fae92725ba5af56f01335ac88 | 2026-01-05T02:54:16.927404Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.