Skip to content

HasDto


  • Full name: \Codefy\Framework\Dto\HasDto

Methods

toDto

Convert validated data to DTO.

public toDto(): object

Return Value:

The corresponding DTO instance.


getDtoClass

Get the DTO class name for this Input Validator or Form Request.

public getDtoClass(): string

Return Value:

The fully qualified DTO class name.