protected function incrementPath(JsonPointer $path = null, $i)
    {
        $path = $path ?: new JsonPointer('');
        $path = $path->withPropertyPaths(
            array_merge(
                $path->getPropertyPaths(),
                array_filter(array($i), 'strlen')
            )
        );

        return $path;
    }
protected function incrementPath(JsonPointer $path = null, $i)
    {
        $path = $path ?: new JsonPointer('');
        $path = $path->withPropertyPaths(
            array_merge(
                $path->getPropertyPaths(),
                array_filter(array($i), 'strlen')
            )
        );

        return $path;
    }
protected function incrementPath ( JsonPointer $ path = null , $ i ) { $ path = $ path ? : new JsonPointer ( '' ) ; $ path = $ path -> withPropertyPaths ( array_merge ( $ path -> getPropertyPaths ( ) , array_filter ( array ( $ i ) , 'strlen' ) ) ) ; return $ path ; }
Bubble down the path

@param JsonPointer|null $path Current path
@param mixed            $i    What to append to the path

@return JsonPointer;
Bubble down the path