Function Virtual_shell->__construct
Definitions
sources/commandr.php
- Constructor function. Starts command parsing on the supplied command.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $inputted_command | string | No | No | required parameter | N/A | N/A | The inputted command, unparsed |
| $parameters | array | No | No | [] | N/A | N/A | An array of prior parameters |
Preview
Code (PHP)
/**
* Constructor function. Starts command parsing on the supplied command.
*
* @param string $inputted_command The inputted command, unparsed
* @param array $parameters An array of prior parameters
*/
public function __construct(string $inputted_command, array $parameters = [])
* Constructor function. Starts command parsing on the supplied command.
*
* @param string $inputted_command The inputted command, unparsed
* @param array $parameters An array of prior parameters
*/
public function __construct(string $inputted_command, array $parameters = [])

