• 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

public \App\Domain\ContentType\ValueObject\ContentTypeId $id

title

public \Qubus\ValueObjects\StringLiteral\StringLiteral $title

slug

public \Qubus\ValueObjects\StringLiteral\StringLiteral $slug

description

public \Qubus\ValueObjects\StringLiteral\StringLiteral $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: