protected function renderDerivedResources(OutputInterface $output, array $derivedResources)
    {
        $table = new Table($output);
        $table->setHeaders(
            [
                [new TableCell('Derived resources', ['colspan' => 5])],
                ['ID', 'Format', 'Size', 'Transformation', 'URL'],
            ]
        );
        foreach ($derivedResources as $resource) {
            $table->addRow(
                [
                    $resource['id'],
                    $resource['format'],
                    $this->formatSize($resource['bytes']),
                    $resource['transformation'],
                    $resource['url'],
                ]
            );
        }
        $table->render();
    }
protected function renderDerivedResources(OutputInterface $output, array $derivedResources)
    {
        $table = new Table($output);
        $table->setHeaders(
            [
                [new TableCell('Derived resources', ['colspan' => 5])],
                ['ID', 'Format', 'Size', 'Transformation', 'URL'],
            ]
        );
        foreach ($derivedResources as $resource) {
            $table->addRow(
                [
                    $resource['id'],
                    $resource['format'],
                    $this->formatSize($resource['bytes']),
                    $resource['transformation'],
                    $resource['url'],
                ]
            );
        }
        $table->render();
    }
protected function renderDerivedResources ( OutputInterface $ output , array $ derivedResources ) { $ table = new Table ( $ output ) ; $ table -> setHeaders ( [ [ new TableCell ( 'Derived resources' , [ 'colspan' => 5 ] ) ] , [ 'ID' , 'Format' , 'Size' , 'Transformation' , 'URL' ] , ] ) ; foreach ( $ derivedResources as $ resource ) { $ table -> addRow ( [ $ resource [ 'id' ] , $ resource [ 'format' ] , $ this -> formatSize ( $ resource [ 'bytes' ] ) , $ resource [ 'transformation' ] , $ resource [ 'url' ] , ] ) ; } $ table -> render ( ) ; }
Render the derived resources.

@param OutputInterface $output           The output.
@param array           $derivedResources The derived resources.
Render the derived resources .