getParentConfig() public method

Returns the parent command configuration.
public getParentConfig ( ) : CommandConfig
return CommandConfig The parent command configuration.
 public function testCreateWithArguments()
 {
     $applicationConfig = new ApplicationConfig();
     $parentConfig = new CommandConfig('command', $applicationConfig);
     $config = new SubCommandConfig('sub-command', $parentConfig, $applicationConfig);
     $this->assertSame($parentConfig, $config->getParentConfig());
     $this->assertSame($applicationConfig, $config->getApplicationConfig());
     $this->assertSame('sub-command', $config->getName());
 }