public function getInput() { // Filter the command line content to suit ArrayInput $words = $this->context->getWords(); array_shift($words); $words = array_filter($words); return new ArrayInput($words); }