DeleteCommandHandler extends CommandHandler
Table of Contents
Methods
- __construct() : mixed
- __invoke() : bool
- addExtraObserver() : static
- addMiddleware() : static
- addRequiredObserver() : static
- execute() : bool
Methods
__construct()
public
__construct() : mixed
__invoke()
public
__invoke(DeleteCommand $command) : bool
Parameters
- $command : DeleteCommand
Tags
Return values
booladdExtraObserver()
public
addExtraObserver(DeleteObserverInterface $observer) : static
Parameters
- $observer : DeleteObserverInterface
Return values
staticaddMiddleware()
public
addMiddleware(MiddlewareInterface $middleware) : static
Parameters
- $middleware : MiddlewareInterface
Return values
staticaddRequiredObserver()
public
addRequiredObserver(DeleteObserverInterface $observer) : static
Parameters
- $observer : DeleteObserverInterface
Return values
staticexecute()
public
execute(DeleteCommand $command) : bool
Parameters
- $command : DeleteCommand