HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/fire-tech/fire-tech.nl/app/KommaApp/Kms/Core/KmsInterface.php
<?php

namespace App\KommaApp\Kms\Core;

use App\KommaApp\Sites\Models\Site;
use Illuminate\Support\Collection;

interface KmsInterface
{

    /**
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function getSites(): Collection;

    /**
     * @param $siteSlug
     */
    public function setSite(string $siteSlug);

    /**
     * @return Site
     */
    public function getSite();

    /**
     * @return int
     */
    public function getSiteId();

    /**
     * @return int
     */
    public function getSiteDefaultLanguage(): int;

    /**
     * @return string
     */
    public function getSiteSlug();

    /**
     * @return Collection
     */
    public function getSiteLanguages(): Collection;

    /**
     * Gets a class name (with or without namespace) and returns the class name only without the namespace
     *
     * @param object|string $classInstanceOrReference
     * @param bool $snakecase If true then the shortModelClassName will be formatted to snake_case.
     * @param bool $removeModelString Wether or not to remove the string 'model' if it is in the class name
     * @return string
     */
    public function getShortNameFromClass($classInstanceOrReference, bool $snakecase = false, bool $removeModelString = false): string;
}