Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Stecman
Component
Symfony
Console
BashCompletion
CompletionContext
setWordBreaks
Stecman\Component\Symfony\Console\BashCompletion\CompletionContext::setWordBreaks PHP Метод
Документация по классу CompletionContext
Показать файл
Открыть проект
setWordBreaks()
публичный
Метод
This defaults to a sane value based on BASH's word break characters and shouldn't need to be changed unless your completions contain the default word break characters.
См. также:
wordBreaks
public
setWordBreaks
(
string
$charList
)
$charList
string
- a single string containing all of the characters to break words on
public function setWordBreaks($charList) { $this->wordBreaks = $charList; $this->reset(); }
CompletionContext
getCharIndex
getCommandLine
getCurrentWord
getWordAtIndex
getWordIndex
getWords
reset
setCharIndex
setCommandLine
setWordBreaks
splitCommand