concrete/src/Utility/Service/Arrays.php
private function parseKeys($keys)
    {
        if (is_string($keys)) {
            if (strpos($keys, '[') !== false) {
                $keys = str_replace(']', '', $keys);
                $keys = explode('[', trim($keys, '['));
            } else {
                $keys = (array) $keys;
            }
        }

        return $keys;
    }
private function parseKeys($keys)
    {
        if (is_string($keys)) {
            if (strpos($keys, '[') !== false) {
                $keys = str_replace(']', '', $keys);
                $keys = explode('[', trim($keys, '['));
            } else {
                $keys = (array) $keys;
            }
        }

        return $keys;
    }
private function parseKeys ( $ keys ) { if ( is_string ( $ keys ) ) { if ( strpos ( $ keys , '[' ) !== false ) { $ keys = str_replace ( ']' , '' , $ keys ) ; $ keys = explode ( '[' , trim ( $ keys , '[' ) ) ; } else { $ keys = ( array ) $ keys ; } } return $ keys ; }
Turns the string keys into an array of keys.

@param string|array $keys

@return array
Turns the string keys into an array of keys .