protected function outputDiffTable(array $change_list)
    {
        $header = [
            $this->trans('commands.config.diff.table.headers.collection'),
            $this->trans('commands.config.diff.table.headers.config-name'),
            $this->trans('commands.config.diff.table.headers.operation'),
        ];
        $rows = [];
        foreach ($change_list as $collection => $changes) {
            foreach ($changes as $operation => $configs) {
                foreach ($configs as $config) {
                    $rows[] = [
                        $collection,
                        $config,
                        sprintf(self::$operationColours[$operation], $operation),
                    ];
                }
            }
        }
        $this->getIo()->table($header, $rows);
    }
protected function outputDiffTable(array $change_list)
    {
        $header = [
            $this->trans('commands.config.diff.table.headers.collection'),
            $this->trans('commands.config.diff.table.headers.config-name'),
            $this->trans('commands.config.diff.table.headers.operation'),
        ];
        $rows = [];
        foreach ($change_list as $collection => $changes) {
            foreach ($changes as $operation => $configs) {
                foreach ($configs as $config) {
                    $rows[] = [
                        $collection,
                        $config,
                        sprintf(self::$operationColours[$operation], $operation),
                    ];
                }
            }
        }
        $this->getIo()->table($header, $rows);
    }
protected function outputDiffTable ( array $ change_list ) { $ header = [ $ this -> trans ( 'commands.config.diff.table.headers.collection' ) , $ this -> trans ( 'commands.config.diff.table.headers.config-name' ) , $ this -> trans ( 'commands.config.diff.table.headers.operation' ) , ] ; $ rows = [ ] ; foreach ( $ change_list as $ collection => $ changes ) { foreach ( $ changes as $ operation => $ configs ) { foreach ( $ configs as $ config ) { $ rows [ ] = [ $ collection , $ config , sprintf ( self :: $ operationColours [ $ operation ] , $ operation ) , ] ; } } } $ this -> getIo ( ) -> table ( $ header , $ rows ) ; }
Ouputs a table of configuration changes.

@param array       $change_list
The list of changes from the StorageComparer.
Ouputs a table of configuration changes .