🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:StorageContract.php
<?php namespace Analyst\Contracts; if ( ! defined( 'ABSPATH' ) ) exit; /** * Interface StorageContract * * Defines a simple key-value persistence layer. * Implementations may use the database, filesystem, or any other backend. */ interface StorageContract { /** * Retrieve a value by key. * * @param string $key * @param mixed $default * @return mixed */ public function get($key, $default = null); /** * Store a value under the given key. * * @param string $key * @param mixed $value * @return bool */ public function put($key, $value); /** * Remove a value by key. * * @param string $key * @return bool */ public function delete($key); }
Save Changes
Cancel
Create New File
Create New Folder