Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
setup-integration
_files
Magento
TestSetupDeclarationModule7
Setup
InstallSchema.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\TestSetupDeclarationModule7\Setup
;
8
9
use
Magento\Framework\Setup\InstallSchemaInterface
;
10
use
Magento\Framework\Setup\ModuleContextInterface
;
11
use
Magento\Framework\Setup\SchemaSetupInterface
;
12
16
class
InstallSchema
implements
InstallSchemaInterface
17
{
21
public
function
install
(
SchemaSetupInterface
$setup
,
ModuleContextInterface
$context)
22
{
23
$installer
=
$setup
;
24
$installer
->startSetup();
25
$installer
26
->getConnection()
27
->modifyColumn(
'test_table'
,
'float'
, [
'type'
=>
'float'
,
'default'
=> 25]);
28
$installer
->endSetup();
29
}
30
}
Magento\TestSetupDeclarationModule7\Setup\InstallSchema\install
install(SchemaSetupInterface $setup, ModuleContextInterface $context)
Definition:
InstallSchema.php:21
$installer
$installer
Definition:
configurable_attribute.php:16
Magento\Framework\Setup\ModuleContextInterface
Definition:
ModuleContextInterface.php:13
Magento\Framework\Setup\SchemaSetupInterface
Definition:
SchemaSetupInterface.php:13
Magento\TestSetupDeclarationModule7\Setup\InstallSchema
Definition:
InstallSchema.php:16
$setup
$setup
Definition:
trigger.php:12
Magento\TestSetupDeclarationModule7\Setup
Magento\Framework\Setup\InstallSchemaInterface
Definition:
InstallSchemaInterface.php:14