Returns the parent command.
public getParentCommand ( ) : |
||
리턴 | The parent command. |
public function testGetParentCommand() { $parentCommand = new Command(new CommandConfig('parent')); $command = new Command(new CommandConfig('command'), null, $parentCommand); $this->assertSame($parentCommand, $command->getParentCommand()); }