final protected function getWithSeparator($key)
    {
        $structure = $this;
        $splitKeys = explode($this->separator, $key);
        foreach ($splitKeys as $key) {
            if (!isset($structure[$key])) {
                return null;
            }
            if (!is_array($structure[$key])) {
                return $structure[$key];
            }
            $structure = $structure[$key];
        }
        return $structure;
    }
final protected function getWithSeparator($key)
    {
        $structure = $this;
        $splitKeys = explode($this->separator, $key);
        foreach ($splitKeys as $key) {
            if (!isset($structure[$key])) {
                return null;
            }
            if (!is_array($structure[$key])) {
                return $structure[$key];
            }
            $structure = $structure[$key];
        }
        return $structure;
    }
final protected function getWithSeparator ( $ key ) { $ structure = $ this ; $ splitKeys = explode ( $ this -> separator , $ key ) ; foreach ( $ splitKeys as $ key ) { if ( ! isset ( $ structure [ $ key ] ) ) { return null ; } if ( ! is_array ( $ structure [ $ key ] ) ) { return $ structure [ $ key ] ; } $ structure = $ structure [ $ key ] ; } return $ structure ; }
Returns the value from the key-path found on this object.

Traverses each node in the key-path until the endpoint is located.

@param  string $key The key-path to retrieve.
@return mixed Value of the requested $key on success, NULL if the $key is not set.
Returns the value from the key - path found on this object .