private function buildArrayArguments($value)
    {
        $arguments = array();

        foreach ($value as $index => $option) {
            if (is_string($index)) {
                $arguments[] = $index;
            }

            $arguments[] = $option;
        }

        return $arguments;
    }
private function buildArrayArguments($value)
    {
        $arguments = array();

        foreach ($value as $index => $option) {
            if (is_string($index)) {
                $arguments[] = $index;
            }

            $arguments[] = $option;
        }

        return $arguments;
    }
private function buildArrayArguments ( $ value ) { $ arguments = array ( ) ; foreach ( $ value as $ index => $ option ) { if ( is_string ( $ index ) ) { $ arguments [ ] = $ index ; } $ arguments [ ] = $ option ; } return $ arguments ; }
Build array arguments

@param  array $value
@return array
Build array arguments