- Full name:
\App\Domain\ContentType\Query\FindContentTypeBySlugQueryHandler - This class implements:
QueryHandler
Properties
repository
Methods
__construct
public __construct(\App\Domain\ContentType\Repository\ContentTypeQueryRepository $repository): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$repository |
\App\Domain\ContentType\Repository\ContentTypeQueryRepository |
handle
public handle(\App\Domain\ContentType\Query\FindContentTypeBySlugQuery|\Codefy\QueryBus\Query $query): array|null|object
Parameters:
| Parameter | Type | Description |
|---|---|---|
$query |
\App\Domain\ContentType\Query\FindContentTypeBySlugQuery|\Codefy\QueryBus\Query |
Throws: