public function setParentConfig(CommandConfig $parentConfig)
    {
        $this->parentConfig = $parentConfig;

        if ($parentConfig->getApplicationConfig()) {
            $this->setApplicationConfig($parentConfig->getApplicationConfig());
        }
    }
public function setParentConfig(CommandConfig $parentConfig)
    {
        $this->parentConfig = $parentConfig;

        if ($parentConfig->getApplicationConfig()) {
            $this->setApplicationConfig($parentConfig->getApplicationConfig());
        }
    }
public function setParentConfig ( CommandConfig $ parentConfig ) { $ this -> parentConfig = $ parentConfig ; if ( $ parentConfig -> getApplicationConfig ( ) ) { $ this -> setApplicationConfig ( $ parentConfig -> getApplicationConfig ( ) ) ; } }
Sets the parent command configuration.

@param CommandConfig $parentConfig The parent command configuration.
Sets the parent command configuration .