protected function _getCurrentPath($key, $value)
    {
        $path   = $this->_getPathSegments();
        $path[] = $this->_getElementPathSegment($key, $value);

        return array_filter($path);
    }
protected function _getCurrentPath($key, $value)
    {
        $path   = $this->_getPathSegments();
        $path[] = $this->_getElementPathSegment($key, $value);

        return array_filter($path);
    }
protected function _getCurrentPath ( $ key , $ value ) { $ path = $ this -> _getPathSegments ( ) ; $ path [ ] = $ this -> _getElementPathSegment ( $ key , $ value ) ; return array_filter ( $ path ) ; }
Retrieves the current path.

@since [*next-version*]

@param string|int $key   The current element key.
@param mixed      $value The current element value.

@return array
Retrieves the current path .