protected function getConfigurationBlock() {
    $line[] = '';
    $line[] = $this->blockStart;
    $line[] = '';

    if (!$this->configObject->has($this->configKey)) {
      throw new TaskException($this, "Configuration key '{$this->configKey}' not found on current Robo configuration.");
    }

    foreach ($this->configObject->get($this->configKey) as $variable => $values) {
      foreach ($values as $name => $value) {
        $line[] = $this->getStatement($variable, $name, $value);
      }
      $line[] = '';
    }

    $line[] = $this->blockEnd;
    $line[] = '';
    return implode($line, "\n");
  }