src/Robo/Config/BltConfig.php
public function set($key, $value) {
    if ($value === 'false') {
      $value = FALSE;
    }
    elseif ($value === 'true') {
      $value = TRUE;
    }

    // Expand properties in string. We do this here so that one can pass
    // -D drush.alias=${drush.ci.aliases} at runtime and still expand
    // properties.
    if (is_string($value) && strstr($value, '$')) {
      $expanded = Expander::expandArrayProperties([$value], $this->export());
      $value = $expanded[0];
    }

    return parent::set($key, $value);

  }
public function set($key, $value) {
    if ($value === 'false') {
      $value = FALSE;
    }
    elseif ($value === 'true') {
      $value = TRUE;
    }

    // Expand properties in string. We do this here so that one can pass
    // -D drush.alias=${drush.ci.aliases} at runtime and still expand
    // properties.
    if (is_string($value) && strstr($value, '$')) {
      $expanded = Expander::expandArrayProperties([$value], $this->export());
      $value = $expanded[0];
    }

    return parent::set($key, $value);

  }
public function set ( $ key , $ value ) { if ( $ value === 'false' ) { $ value = FALSE ; } elseif ( $ value === 'true' ) { $ value = TRUE ; } // Expand properties in string. We do this here so that one can pass // -D drush.alias=${drush.ci.aliases} at runtime and still expand // properties. if ( is_string ( $ value ) && strstr ( $ value , '$' ) ) { $ expanded = Expander :: expandArrayProperties ( [ $ value ] , $ this -> export ( ) ) ; $ value = $ expanded [ 0 ] ; } return parent :: set ( $ key , $ value ) ; }
Set a config value.

@param string $key
The config key.
@param mixed $value
The config value.

@return $this
Set a config value .