<?php
/**
 * Created by PhpStorm.
 * User: radko
 * Date: 15.11.18
 * Time: 11:23
 */

namespace Seka\Vzdelavanie\Services;

use Illuminate\Support\Collection;
use Seka\Vzdelavanie\Models\Kategoria;

/**
 * Interface KategoriaServiceInterface
 * @package Seka\Vzdelavanie\Services
 */
interface KategoriaServiceInterface extends ServiceInterface
{
    /**
     * @return \Illuminate\Support\Collection
     */
    public function vratVsetky(): Collection;

    /**
     * @param int      $id
     * @param int|null $pocet
     * @param bool     $verejne
     * @return \Seka\Vzdelavanie\Models\Kategoria
     * @throws \Seka\Vzdelavanie\Exceptions\ModelNotFoundException
     */
    public function vratKategoriuSUcebnymiMaterialmi(int $id, int $pocet = null, bool $verejne = true): Kategoria;

    /**
     * @param int|null $pocetUcebnychMaterialov
     * @param bool     $verejne
     * @return \Illuminate\Support\Collection
     */
    public function vratVsetkySUcebnymiMaterialmi(int $pocetUcebnychMaterialov = null, bool $verejne = true): Collection;
}
