forked from webshr/core
initial commit
This commit is contained in:
29
src/Support/Contracts/Arrayable.php
Normal file
29
src/Support/Contracts/Arrayable.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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 Laravel\Illuminate package.
|
||||
* Original author: Laravel
|
||||
* Original source: https://laravel.com/api/master/Illuminate/Foundation.html
|
||||
*/
|
||||
|
||||
namespace Lichtblick\Core\Support\Contracts;
|
||||
|
||||
/**
|
||||
* @template TKey of array-key
|
||||
* @template TValue
|
||||
*/
|
||||
interface Arrayable
|
||||
{
|
||||
/**
|
||||
* Get the instance as an array.
|
||||
*
|
||||
* @return array<TKey, TValue>
|
||||
*/
|
||||
public function to_array();
|
||||
}
|
||||
Reference in New Issue
Block a user