1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-17 21:10:00 +02:00
php-phpbb/phpBB/phpbb/storage/provider/provider_interface.php
2021-03-25 03:37:30 +01:00

46 lines
762 B
PHP

<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\storage\provider;
interface provider_interface
{
/**
* Gets adapter name
*
* @return string
*/
public function get_name();
/**
* Gets adapter class
*
* @return string
*/
public function get_adapter_class(): string;
/**
* Gets adapter options
*
* @return array Configuration keys
*/
public function get_options();
/**
* Return true if the adapter is available
*
* @return bool
*/
public function is_available();
}