- Full name:
\App\Domain\ContentType\Dto\StoreContentTypeData - This class is marked as final and can't be subclassed
- This class implements:
DataTransformer - This class is a Final class
Properties
id
title
slug
description
Methods
__construct
private __construct(\App\Domain\ContentType\ValueObject\ContentTypeId $id, \Qubus\ValueObjects\StringLiteral\StringLiteral $title, \Qubus\ValueObjects\StringLiteral\StringLiteral $slug, \Qubus\ValueObjects\StringLiteral\StringLiteral $description): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$id |
\App\Domain\ContentType\ValueObject\ContentTypeId | |
$title |
\Qubus\ValueObjects\StringLiteral\StringLiteral | |
$slug |
\Qubus\ValueObjects\StringLiteral\StringLiteral | |
$description |
\Qubus\ValueObjects\StringLiteral\StringLiteral |
fromValidatedData
public static fromValidatedData(\Codefy\Framework\Validation\DataValidator $data): \Codefy\Framework\Dto\DataTransformer
- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$data |
\Codefy\Framework\Validation\DataValidator |
Throws: