/** * @return string */ protected function getPrompt() : string { $prompt = $this->_options['prompt']; $route = $this->context->getAsString(); if ($route) { $prompt .= ' ' . $this->context->getAsString(); } return Console::ansiFormat($prompt . ': ', $this->_options['style.prompt']); }