|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Collaboration diagram for pocketmine\command\utils\CommandStringHelper:Static Public Member Functions | |
| static | parseQuoteAware (string $commandLine) |
Definition at line 31 of file CommandStringHelper.php.
|
static |
Parses a command string into its component parts. Parts of the string which are inside unescaped quotes are considered as one argument.
Examples:
give "steve jobs" apple -> ['give', 'steve jobs', 'apple']say "This is a \"string containing quotes\"" -> ['say', 'This is a "string containing quotes"']Definition at line 48 of file CommandStringHelper.php.