* @git Joomla Component Builder * @copyright Copyright (C) 2015 Vast Development Method. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace VDM\Joomla\Componentbuilder\Table; use VDM\Joomla\Componentbuilder\Table; use VDM\Joomla\Interfaces\SchemaInterface; use VDM\Joomla\Abstraction\Schema as ExtendingSchema; /** * JCB Tables Schema * * @since 3.2.1 */ final class Schema extends ExtendingSchema implements SchemaInterface { /** * Constructor. * * @param Table $table The Table Class. * * @since 3.2.1 */ public function __construct(?Table $table = null) { $table ??= new Table; parent::__construct($table); } /** * Get the targeted component code * * @return string * @since 3.2.1 */ protected function getCode(): string { return 'componentbuilder'; } }