SYMBOL INDEX (143 symbols across 19 files) FILE: src/Completion.php class Completion (line 8) | class Completion implements CompletionInterface method makeGlobalHandler (line 51) | public static function makeGlobalHandler($targetName, $type, $completion) method __construct (line 62) | public function __construct($commandName, $targetName, $type, $complet... method run (line 75) | public function run() method getType (line 90) | public function getType() method setType (line 101) | public function setType($type) method getCommandName (line 112) | public function getCommandName() method setCommandName (line 123) | public function setCommandName($commandName) method getTargetName (line 134) | public function getTargetName() method setTargetName (line 145) | public function setTargetName($targetName) method getCompletion (line 155) | public function getCompletion() method setCompletion (line 166) | public function setCompletion($completion) method isCallable (line 176) | public function isCallable() FILE: src/Completion/CompletionAwareInterface.php type CompletionAwareInterface (line 7) | interface CompletionAwareInterface method completeOptionValues (line 17) | public function completeOptionValues($optionName, CompletionContext $c... method completeArgumentValues (line 26) | public function completeArgumentValues($argumentName, CompletionContex... FILE: src/Completion/CompletionInterface.php type CompletionInterface (line 6) | interface CompletionInterface method getType (line 23) | public function getType(); method getCommandName (line 32) | public function getCommandName(); method getTargetName (line 40) | public function getTargetName(); method run (line 47) | public function run(); FILE: src/Completion/ShellPathCompletion.php class ShellPathCompletion (line 11) | class ShellPathCompletion implements CompletionInterface method __construct (line 25) | public function __construct($commandName, $targetName, $type) method getType (line 35) | public function getType() method getCommandName (line 43) | public function getCommandName() method getTargetName (line 51) | public function getTargetName() method run (line 61) | public function run() FILE: src/CompletionCommand.php class CompletionCommand (line 11) | class CompletionCommand extends SymfonyCommand method configure (line 18) | protected function configure(): void method getNativeDefinition (line 43) | public function getNativeDefinition(): InputDefinition method mergeApplicationDefinition (line 54) | public function mergeApplicationDefinition(bool $mergeArgs = true): void method filterApplicationOptions (line 77) | protected function filterApplicationOptions(array $appOptions) method execute (line 94) | protected function execute(InputInterface $input, OutputInterface $out... method escapeForShell (line 145) | protected function escapeForShell($result, $shellType) method runCompletion (line 181) | protected function runCompletion() method configureCompletion (line 192) | protected function configureCompletion(CompletionHandler $handler) method getShellType (line 202) | protected function getShellType() method createDefinition (line 211) | protected function createDefinition() FILE: src/CompletionContext.php class CompletionContext (line 11) | class CompletionContext method setCommandLine (line 81) | public function setCommandLine($commandLine) method getCommandLine (line 92) | public function getCommandLine() method getCurrentWord (line 105) | public function getCurrentWord() method getRawCurrentWord (line 121) | public function getRawCurrentWord() method getWordAtIndex (line 137) | public function getWordAtIndex($index) method getWords (line 152) | public function getWords() method getRawWords (line 168) | public function getRawWords() method getWordIndex (line 183) | public function getWordIndex() method getCharIndex (line 201) | public function getCharIndex() method setCharIndex (line 211) | public function setCharIndex($index) method setWordBreaks (line 228) | public function setWordBreaks($charList) method splitCommand (line 240) | protected function splitCommand() method getTokenValue (line 294) | protected function getTokenValue($token) method tokenizeString (line 317) | protected function tokenizeString($string) method reset (line 385) | protected function reset() FILE: src/CompletionHandler.php class CompletionHandler (line 13) | class CompletionHandler method __construct (line 43) | public function __construct(Application $application, ?CompletionConte... method setContext (line 68) | public function setContext(CompletionContext $context) method getContext (line 76) | public function getContext() method addHandlers (line 84) | public function addHandlers(array $array) method addHandler (line 92) | public function addHandler(CompletionInterface $helper) method runCompletion (line 103) | public function runCompletion() method getInput (line 141) | public function getInput() method completeForOptions (line 156) | protected function completeForOptions() method completeForOptionShortcuts (line 180) | protected function completeForOptionShortcuts() method completeForOptionShortcutValues (line 200) | protected function completeForOptionShortcutValues() method completeForOptionValues (line 231) | protected function completeForOptionValues() method completeForCommandName (line 261) | protected function completeForCommandName() method completeForCommandArguments (line 276) | protected function completeForCommandArguments() method getCompletionHelper (line 312) | protected function getCompletionHelper($name, $type) method completeOption (line 335) | protected function completeOption(InputOption $option) method mapArgumentsToWords (line 357) | protected function mapArgumentsToWords($argumentDefinitions) method getOptionWordsWithValues (line 396) | protected function getOptionWordsWithValues() method filterResults (line 419) | protected function filterResults(array $array) method getAllOptions (line 433) | protected function getAllOptions() method getCommandNames (line 452) | protected function getCommandNames() method detectCommand (line 473) | private function detectCommand() FILE: src/EnvironmentCompletionContext.php class EnvironmentCompletionContext (line 6) | class EnvironmentCompletionContext extends CompletionContext method __construct (line 11) | public function __construct() method useWordBreaksFromEnvironment (line 36) | public function useWordBreaksFromEnvironment() FILE: src/HookFactory.php class HookFactory (line 6) | final class HookFactory method getShellTypes (line 121) | public static function getShellTypes() method generateHook (line 136) | public function generateHook($type, $programPath, $programName = null,... method generateFunctionName (line 178) | protected function generateFunctionName($programPath, $programName) method sanitiseForFunctionName (line 194) | protected function sanitiseForFunctionName($name) method stripComments (line 210) | protected function stripComments($script) FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/Common/CompletionHandlerTestCase.php class CompletionHandlerTestCase (line 14) | abstract class CompletionHandlerTestCase extends TestCase method setUpBeforeClass (line 23) | public static function setUpBeforeClass(): void method setUp (line 31) | protected function setUp(): void method createHandler (line 58) | protected function createHandler($commandLine, $cursorIndex = null) method getTerms (line 74) | protected function getTerms($handlerOutput) FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/CompletionCommandTest.php class CompletionCommandTest (line 12) | class CompletionCommandTest extends TestCase method testConflictingGlobalOptions (line 17) | public function testConflictingGlobalOptions() FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/CompletionContextTest.php class CompletionContextTest (line 9) | class CompletionContextTest extends TestCase method testWordBreakSplit (line 12) | public function testWordBreakSplit() method testCursorPosition (line 32) | public function testCursorPosition() method testWordBreakingWithSmallInputs (line 62) | public function testWordBreakingWithSmallInputs() method testQuotedStringWordBreaking (line 95) | public function testQuotedStringWordBreaking() method testGetRawCurrentWord (line 150) | public function testGetRawCurrentWord() method testConfigureFromEnvironment (line 162) | public function testConfigureFromEnvironment() FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/CompletionHandlerTest.php class CompletionHandlerTest (line 10) | class CompletionHandlerTest extends CompletionHandlerTestCase method testCompleteAppName (line 12) | public function testCompleteAppName() method testCompleteCommandNames (line 20) | public function testCompleteCommandNames() method testCompleteCommandNameNonMatch (line 29) | public function testCompleteCommandNameNonMatch() method testCompleteCommandNamePartialTwoMatches (line 35) | public function testCompleteCommandNamePartialTwoMatches() method testCompleteCommandNamePartialOneMatch (line 41) | public function testCompleteCommandNamePartialOneMatch() method testCompleteCommandNameFull (line 47) | public function testCompleteCommandNameFull() method testCompleteSingleDash (line 55) | public function testCompleteSingleDash() method testCompleteOptionShortcut (line 63) | public function testCompleteOptionShortcut() method testCompleteOptionShortcutFirst (line 71) | public function testCompleteOptionShortcutFirst() method testCompleteDoubleDash (line 82) | public function testCompleteDoubleDash() method testCompleteOptionFull (line 88) | public function testCompleteOptionFull() method testCompleteOptionEqualsValue (line 94) | public function testCompleteOptionEqualsValue() method testCompleteOptionOrder (line 109) | public function testCompleteOptionOrder() method testCompleteColonCommand (line 120) | public function testCompleteColonCommand() method testCompletionAwareCommand (line 140) | public function testCompletionAwareCommand($commandLine, array $sugges... method completionAwareCommandDataProvider (line 146) | public static function completionAwareCommandDataProvider(): array method testShortCommandMatched (line 163) | public function testShortCommandMatched() method testShortCommandNotMatched (line 169) | public function testShortCommandNotMatched() method testHelpCommandCompletion (line 175) | public function testHelpCommandCompletion() method testListCommandCompletion (line 184) | public function testListCommandCompletion() FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/CompletionTest.php class CompletionTest (line 10) | class CompletionTest extends CompletionHandlerTestCase method testCompletionResults (line 15) | public function testCompletionResults($completions, $commandlineResult... method getCompletionTestInput (line 28) | public function getCompletionTestInput() method instanceMethodForCallableCheck (line 149) | public function instanceMethodForCallableCheck() FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/Fixtures/CompletionAwareCommand.php class CompletionAwareCommand (line 10) | class CompletionAwareCommand extends Command implements CompletionAwareI... method configure (line 12) | protected function configure(): void method completeOptionValues (line 31) | public function completeOptionValues($optionName, CompletionContext $c... method completeArgumentValues (line 54) | public function completeArgumentValues($argumentName, CompletionContex... FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/Fixtures/HiddenCommand.php class HiddenCommand (line 5) | class HiddenCommand extends Command method configure (line 7) | protected function configure(): void FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/Fixtures/TestBasicCommand.php class TestBasicCommand (line 7) | class TestBasicCommand extends Command method configure (line 9) | protected function configure(): void FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/Fixtures/TestSymfonyStyleCommand.php class TestSymfonyStyleCommand (line 6) | class TestSymfonyStyleCommand extends Command method configure (line 8) | protected function configure(): void FILE: tests/Stecman/Component/Symfony/Console/BashCompletion/HookFactoryTest.php class HookFactoryTest (line 8) | class HookFactoryTest extends TestCase method setUp (line 15) | protected function setUp(): void method testBashSyntax (line 24) | public function testBashSyntax($programPath, $programName, $multiple) method testZshSyntax (line 37) | public function testZshSyntax($programPath, $programName, $multiple) method generateHookDataProvider (line 47) | public static function generateHookDataProvider() method testForMissingSemiColons (line 58) | public function testForMissingSemiColons() method isScriptLineValid (line 86) | protected function isScriptLineValid($line) method hasProgram (line 113) | protected function hasProgram($programName) method assertSyntaxIsValid (line 128) | protected function assertSyntaxIsValid($code, $syntaxCheckCommand, $co...