/**
  * Logging info about successful execution of all commands from the chain.
  *
  * @param   ConsoleChainEvent   $event
  */
 public function onConsoleChainTerminate(ConsoleChainEvent $event)
 {
     $this->logger->log(200, sprintf('Execution of %s chain completed.', $event->getCommand()->getName()));
 }
 /**
  * Test for requesting chain members from event.
  */
 public function testGetChainMembers()
 {
     $event = new ConsoleChainEvent(new Command('bar:main'), new ArrayInput([]), new ConsoleOutput(), ['foo:second' => 'bar:main']);
     static::assertEquals(['foo:second' => 'bar:main'], $event->getChainMembers());
 }