protected function makeArrayString(array $names, $index = 0)
    {
        $string = implode(',' . PHP_EOL, $names);

        if (!empty($string)) {
            return sprintf('[%s%s%s%s]', PHP_EOL, $string, PHP_EOL, $this->indent($index));
        }

        return '[]';
    }
protected function makeArrayString(array $names, $index = 0)
    {
        $string = implode(',' . PHP_EOL, $names);

        if (!empty($string)) {
            return sprintf('[%s%s%s%s]', PHP_EOL, $string, PHP_EOL, $this->indent($index));
        }

        return '[]';
    }
protected function makeArrayString ( array $ names , $ index = 0 ) { $ string = implode ( ',' . PHP_EOL , $ names ) ; if ( ! empty ( $ string ) ) { return sprintf ( '[%s%s%s%s]' , PHP_EOL , $ string , PHP_EOL , $ this -> indent ( $ index ) ) ; } return '[]' ; }
Gets array ready string

@param array $name
@param int $index

@return string
Gets array ready string