<?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\Kniznica\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\Kniznica\Kategoria
     * @throws \Seka\Vzdelavanie\Exceptions\ModelNotFoundException
     */
    public function vratKategoriuSUcebnymiMaterialmi(int $id, int $pocet = null, bool $verejne = true): Kategoria;

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