<?php

namespace App\Providers\ExcelRegistryReport;

class DetailStyle {

    public function run ($oRegistry) {
        $oDetail = $oRegistry->Registry_Detail;
        $result = [
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            [],
            [
                [['action' => '']],
                [['action' => '']],
                [['action' => 'merge', 'lines' => 3]],
                [['action' => 'merge', 'lines' => 3]],
            ]
        ];
        $length = count($oDetail);
        for ($i = 0; $i < $length; $i++) {
            $result[] = [
                [['action' => '']],
                [['action' => '']],
                [['action' => 'merge', 'lines' => 3]],
                [['action' => 'merge', 'lines' => 3]],
            ];
        }
        
        return $result;
    }

}