mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +02:00
42 lines
850 B
PHP
42 lines
850 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\search\backend\sphinx;
|
|
|
|
/**
|
|
* \phpbb\search\backend\sphinx\config_item
|
|
* Represents a single config item inside the sphinx configuration
|
|
*/
|
|
abstract class config_item
|
|
{
|
|
/** @var string Item name */
|
|
protected $name = '';
|
|
|
|
/**
|
|
* Getter for the item's name
|
|
*
|
|
* @return string The item object's name
|
|
*/
|
|
public function get_name(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/**
|
|
* Return string representation of config item
|
|
*
|
|
* @return string String representation of config item
|
|
*/
|
|
abstract public function to_string(): string;
|
|
}
|