protected function initializeTabCompletion()
    {
        if (!$this->config->useTabCompletion()) {
            return;
        }

        $this->autoCompleter = $this->config->getAutoCompleter();

        // auto completer needs shell to be linked to configuration because of
        // the context aware matchers
        $this->addMatchersToAutoCompleter($this->getDefaultMatchers());
        $this->addMatchersToAutoCompleter($this->matchers);

        $this->autoCompleter->activate();
    }
protected function initializeTabCompletion()
    {
        if (!$this->config->useTabCompletion()) {
            return;
        }

        $this->autoCompleter = $this->config->getAutoCompleter();

        // auto completer needs shell to be linked to configuration because of
        // the context aware matchers
        $this->addMatchersToAutoCompleter($this->getDefaultMatchers());
        $this->addMatchersToAutoCompleter($this->matchers);

        $this->autoCompleter->activate();
    }
protected function initializeTabCompletion ( ) { if ( ! $ this -> config -> useTabCompletion ( ) ) { return ; } $ this -> autoCompleter = $ this -> config -> getAutoCompleter ( ) ; // auto completer needs shell to be linked to configuration because of // the context aware matchers $ this -> addMatchersToAutoCompleter ( $ this -> getDefaultMatchers ( ) ) ; $ this -> addMatchersToAutoCompleter ( $ this -> matchers ) ; $ this -> autoCompleter -> activate ( ) ; }
Initialize tab completion matchers.

If tab completion is enabled this adds tab completion matchers to the
auto completer and sets context if needed.
Initialize tab completion matchers .