Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Functions | |
escapeCommand ($command) | |
validateCommand ($command) | |
trimAfterWhitespace ($string) | |
Variables | |
if(isset($_POST['command'])) | else |
escapeCommand | ( | $command | ) |
Returns escaped command.
string | $command |
Definition at line 43 of file command.php.
trimAfterWhitespace | ( | $string | ) |
Returns given string trimmed of everything after the first found whitespace.
string | $string |
Definition at line 75 of file command.php.
validateCommand | ( | $command | ) |
Checks magento list of CLI commands for given $command. Does not check command parameters, just base command.
string | $command |
Definition at line 61 of file command.php.
if (isset( $_POST[ 'command'])) else |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Definition at line 32 of file command.php.