protected function printConfig()
    {
        $config = $this->getConfig();
        $output = $this->getOutput();

        foreach ($config->ruleSet()->getChildren() as $ruleSet) {
            $output->writeln('Using rule set ' . $ruleSet->getName());

            if ( ! $output->isDebug()) {
                continue;
            }

            if ( ! $ruleSet->trigger()) {
                $output->writeln('  No triggers found.');
                continue;
            }

            foreach ($ruleSet->trigger()->getAll() as $singleTrigger) {
                $output->writeln('  Contains trigger ' . $singleTrigger);
            }
        }
    }
protected function printConfig()
    {
        $config = $this->getConfig();
        $output = $this->getOutput();

        foreach ($config->ruleSet()->getChildren() as $ruleSet) {
            $output->writeln('Using rule set ' . $ruleSet->getName());

            if ( ! $output->isDebug()) {
                continue;
            }

            if ( ! $ruleSet->trigger()) {
                $output->writeln('  No triggers found.');
                continue;
            }

            foreach ($ruleSet->trigger()->getAll() as $singleTrigger) {
                $output->writeln('  Contains trigger ' . $singleTrigger);
            }
        }
    }
protected function printConfig ( ) { $ config = $ this -> getConfig ( ) ; $ output = $ this -> getOutput ( ) ; foreach ( $ config -> ruleSet ( ) -> getChildren ( ) as $ ruleSet ) { $ output -> writeln ( 'Using rule set ' . $ ruleSet -> getName ( ) ) ; if ( ! $ output -> isDebug ( ) ) { continue ; } if ( ! $ ruleSet -> trigger ( ) ) { $ output -> writeln ( '  No triggers found.' ) ; continue ; } foreach ( $ ruleSet -> trigger ( ) -> getAll ( ) as $ singleTrigger ) { $ output -> writeln ( '  Contains trigger ' . $ singleTrigger ) ; } } }
Print debug information of the used config.

@param Config          $config
@param OutputInterface $output
Print debug information of the used config .