Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ShellInterface Interface Reference
Inheritance diagram for ShellInterface:
Shell Shell

Public Member Functions

 execute ($command, array $arguments=[])
 

Detailed Description

Shell command line wrapper encapsulates command execution and arguments escaping

@api

Since
100.0.2

Definition at line 14 of file ShellInterface.php.

Member Function Documentation

◆ execute()

execute (   $command,
array  $arguments = [] 
)

Execute a command through the command line, passing properly escaped arguments

Parameters
string$commandCommand with optional argument markers 's'
string[]$arguments Argument values to substitute markers with
Exceptions

Implemented in Shell, and Shell.


The documentation for this interface was generated from the following file: