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
functional
lib
Magento
Mtf
Util
Command
Cli
DeployMode.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Mtf\Util\Command\Cli
;
8
9
use
Magento\Mtf\Util\Command\Cli
;
10
14
class
DeployMode
extends
Cli
15
{
19
const
PARAM_DEPLOY_MODE_DEVELOPER
=
'deploy:mode:set developer'
;
20
24
const
PARAM_DEPLOY_MODE_PRODUCTION
=
'deploy:mode:set production'
;
25
31
public
function
setDeployModeToDeveloper
()
32
{
33
parent::execute(
DeployMode::PARAM_DEPLOY_MODE_DEVELOPER
);
34
}
35
41
public
function
setDeployModeToProduction
()
42
{
43
parent::execute(
DeployMode::PARAM_DEPLOY_MODE_PRODUCTION
);
44
}
45
}
Magento\Mtf\Util\Command\Cli
Definition:
Cli.php:15
Magento\Mtf\Util\Command\Cli
Definition:
Cache.php:7
Magento\Mtf\Util\Command\Cli\DeployMode\PARAM_DEPLOY_MODE_PRODUCTION
const PARAM_DEPLOY_MODE_PRODUCTION
Definition:
DeployMode.php:24
Magento\Mtf\Util\Command\Cli\DeployMode\setDeployModeToDeveloper
setDeployModeToDeveloper()
Definition:
DeployMode.php:31
Magento\Mtf\Util\Command\Cli\DeployMode\setDeployModeToProduction
setDeployModeToProduction()
Definition:
DeployMode.php:41
Magento\Mtf\Util\Command\Cli\DeployMode
Definition:
DeployMode.php:14
Magento\Mtf\Util\Command\Cli\DeployMode\PARAM_DEPLOY_MODE_DEVELOPER
const PARAM_DEPLOY_MODE_DEVELOPER
Definition:
DeployMode.php:19