• Full name: \App\Infrastructure\Services\ContentType\ContentTypeService
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

event

protected \Psr\EventDispatcher\EventDispatcherInterface $event

dfdb

protected \Qubus\Expressive\Database $dfdb

Methods

__construct

public __construct(\Psr\EventDispatcher\EventDispatcherInterface $event, \Qubus\Expressive\Database $dfdb): mixed

Parameters:

Parameter Type Description
$event \Psr\EventDispatcher\EventDispatcherInterface
$dfdb \Qubus\Expressive\Database

findContentTypes

public findContentTypes(): array

createContentType

public createContentType(\App\Domain\ContentType\Validator\StoreContentTypeValidator $data): void

Parameters:

Parameter Type Description
$data \App\Domain\ContentType\Validator\StoreContentTypeValidator

updateContentType

public updateContentType(\App\Domain\ContentType\Validator\UpdateContentTypeValidator $data): void

Parameters:

Parameter Type Description
$data \App\Domain\ContentType\Validator\UpdateContentTypeValidator

Throws:


deleteContentType

public deleteContentType(\App\Domain\ContentType\Validator\DestroyContentTypeValidator $data): void

Parameters:

Parameter Type Description
$data \App\Domain\ContentType\Validator\DestroyContentTypeValidator