<?php

declare(strict_types=1);

namespace Seka\Portal\Modul\Statistiky\Repositories\Eloquent\Transformers;

use Seka\Portal\Modul\Statistiky\Entities\Zaznam\Zaznam;

/**
 * Interface TransformerContract
 *
 * @package Seka\Portal\Modul\Statistiky\Repositories\Eloquent\Transformers
 */
interface TransformerContract
{
    /**
     * @param \Seka\Portal\Modul\Statistiky\Entities\Zaznam\Zaznam $model
     *
     * @return array
     *
     * @throws \Seka\Portal\Modul\Statistiky\Exceptions\NeznamiDruhUdajovZaznamuException
     */
    public function transform(Zaznam $model): array;
}
