Skip to content

CallableQueryHandler

Properties

handler

protected callable $handler

Methods

__construct

public __construct(callable $handler): mixed

Parameters:

Parameter Type Description
$handler callable

handle

Handle a query execution.

public handle(\Codefy\QueryBus\Query $query): mixed

Parameters:

Parameter Type Description
$query \Codefy\QueryBus\Query


Automatically generated on 2025-10-13