protected function call(string $command, array $params = [])
	{
		// The CommandRunner will grab the first element
		// for the command name.
		array_unshift($params, $command);

		return $this->commands->index($params);
	}
protected function call(string $command, array $params = [])
	{
		// The CommandRunner will grab the first element
		// for the command name.
		array_unshift($params, $command);

		return $this->commands->index($params);
	}
protected function call ( string $ command , array $ params = [ ] ) { // The CommandRunner will grab the first element // for the command name. array_unshift ( $ params , $ command ) ; return $ this -> commands -> index ( $ params ) ; }
Can be used by a command to run other commands.

@param string $command
@param array  $params

@return mixed
@throws \ReflectionException
Can be used by a command to run other commands .