src/Sulu/Component/Util/SuluNodeHelper.php
public function getBaseSnippetPath($type = null)
    {
        $path = '/' . $this->getPath('base') . '/' . $this->getPath('snippet');

        if ($type) {
            $path .= '/' . $type;
        }

        return $path;
    }
public function getBaseSnippetPath($type = null)
    {
        $path = '/' . $this->getPath('base') . '/' . $this->getPath('snippet');

        if ($type) {
            $path .= '/' . $type;
        }

        return $path;
    }
public function getBaseSnippetPath ( $ type = null ) { $ path = '/' . $ this -> getPath ( 'base' ) . '/' . $ this -> getPath ( 'snippet' ) ; if ( $ type ) { $ path .= '/' . $ type ; } return $ path ; }
Returns the path for the base snippet of the given type resp. of all types if not given.

@param string $type

@return string
Returns the path for the base snippet of the given type resp . of all types if not given .