• Full name: \App\Domain\Product\Command\UpdateProductStatusCommandHandler
  • This class implements: CommandHandler

Properties

aggregateRepository

public \App\Domain\Product\Repository\ProductAggregateRepository $aggregateRepository

Methods

__construct

public __construct(\App\Domain\Product\Repository\ProductAggregateRepository $aggregateRepository): mixed

Parameters:

Parameter Type Description
$aggregateRepository \App\Domain\Product\Repository\ProductAggregateRepository

handle

public handle(\App\Domain\Product\Command\UpdateProductStatusCommand|\Codefy\CommandBus\Command $command): void

Parameters:

Parameter Type Description
$command \App\Domain\Product\Command\UpdateProductStatusCommand|\Codefy\CommandBus\Command

Throws: