![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Setup/Declaration/Schema/Dto/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Setup\Declaration\Schema\Dto; /** * Generic DTO Element interface. * * Is parent interface for all various schema structural elements: * table, column, constraint, index. * @api * @since 102.0.0 */ interface ElementInterface { /** * Return name of structural element. * * @return string * @since 102.0.0 */ public function getName(); /** * Retrieve element low level type: varchar, char, foreign key, etc.. * * @return string * @since 102.0.0 */ public function getType(); /** * Retrieve high level type: column, constraint, index, table. * * On high level different elements can be created or modified in different ways. * So for each high level type of elements were created different operations. * And in order to distinguish this types of elements we use this method. * * @return string * @since 102.0.0 */ public function getElementType(); }