src/Generator/Writer/AbstractProcessStep.php
protected function getLongestKey(array $array)
    {
        $longest = 0;

        foreach ($array as $key => $value) {
            if ($longest > strlen($key)) continue;

            $longest = strlen($key);
        }

        return $longest;
    }
protected function getLongestKey(array $array)
    {
        $longest = 0;

        foreach ($array as $key => $value) {
            if ($longest > strlen($key)) continue;

            $longest = strlen($key);
        }

        return $longest;
    }
protected function getLongestKey ( array $ array ) { $ longest = 0 ; foreach ( $ array as $ key => $ value ) { if ( $ longest > strlen ( $ key ) ) continue ; $ longest = strlen ( $ key ) ; } return $ longest ; }
Returns length of longest key in key-value pair array

@param array $array
@return int
Returns length of longest key in key - value pair array