initial commit

This commit is contained in:
2025-10-01 13:14:06 +02:00
commit 2ae506bb27
68 changed files with 9352 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<?php
/**
* @package Webshr\Core
* @since 1.0.0
* @author Webshore, H. Liebel
* @license https://opensource.org/licenses/GPL-3.0-or-later GPL-3.0-or-later
* @link https://webshore.eu/
*
* This file contains a customized adaptation of the Illuminate\Foundation package.
* Original author: Laravel
* Original source: https://laravel.com/api/master/Illuminate/Foundation.html
*/
namespace Lichtblick\Core\Contracts;
interface Repository
{
/**
* Determine if the given configuration value exists.
*
* @param string $key
* @return bool
*/
public function has($key);
/**
* Get the specified configuration value.
*
* @param array|string $key
* @param mixed $default
* @return mixed
*/
public function get($key, $default = null);
/**
* Get all of the configuration items for the application.
*
* @return array
*/
public function all();
/**
* Set a given configuration value.
*
* @param array|string $key
* @param mixed $value
* @return void
*/
public function set($key, $value = null);
/**
* Prepend a value onto an array configuration value.
*
* @param string $key
* @param mixed $value
* @return void
*/
public function prepend($key, $value);
/**
* Push a value onto an array configuration value.
*
* @param string $key
* @param mixed $value
* @return void
*/
public function push($key, $value);
}