* @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; }