• Full name: \App\Domain\ContentType\Command\CreateContentTypeCommandHandler
  • This class implements: CommandHandler

Properties

aggregateRepository

public \App\Domain\ContentType\Repository\ContentTypeAggregateRepository $aggregateRepository

Methods

__construct

public __construct(\App\Domain\ContentType\Repository\ContentTypeAggregateRepository $aggregateRepository): mixed

Parameters:

Parameter Type Description
$aggregateRepository \App\Domain\ContentType\Repository\ContentTypeAggregateRepository

handle

public handle(\App\Domain\ContentType\Command\CreateContentTypeCommand|\Codefy\CommandBus\Command $command): void

Parameters:

Parameter Type Description
$command \App\Domain\ContentType\Command\CreateContentTypeCommand|\Codefy\CommandBus\Command