Skip to content
Snippets Groups Projects
DtoServiceInterface.php 287 B
Newer Older
i.vasilenko@iq-adv.ru's avatar
i.vasilenko@iq-adv.ru committed
<?php

namespace App\Service\Dto;

use App\Service\Response\ResponseServiceInterface;

interface DtoServiceInterface
{
    public function getClass(): ?DtoServiceInterface;

    public function validate(ResponseServiceInterface $response): bool;

    public function toArray(): ?array;
}