• Full name: \App\Domain\Content\Command\UpdateContentCommandHandler
  • This class implements: CommandHandler

Properties

aggregateRepository

public \App\Domain\Content\Repository\ContentAggregateRepository $aggregateRepository

Methods

__construct

public __construct(\App\Domain\Content\Repository\ContentAggregateRepository $aggregateRepository): mixed

Parameters:

Parameter Type Description
$aggregateRepository \App\Domain\Content\Repository\ContentAggregateRepository

handle

public handle(\App\Domain\Content\Command\UpdateContentCommand|\Codefy\CommandBus\Command $command): void

Parameters:

Parameter Type Description
$command \App\Domain\Content\Command\UpdateContentCommand|\Codefy\CommandBus\Command

Throws: