Firestore/src/PathTrait.php
private function parentPath($name)
    {
        $parts = $this->splitName($name);
        array_pop($parts);

        return implode('/', $parts);
    }
private function parentPath($name)
    {
        $parts = $this->splitName($name);
        array_pop($parts);

        return implode('/', $parts);
    }
private function parentPath ( $ name ) { $ parts = $ this -> splitName ( $ name ) ; array_pop ( $ parts ) ; return implode ( '/' , $ parts ) ; }
Get the current path's parent.
@param string $name
@return string
Get the current path s parent .