Loading docs/path_interfaces.rst +4 −4 Original line number Diff line number Diff line Loading @@ -44,13 +44,13 @@ Strict mode throws exception if traversal happens beyond root (no effect if the $path->resolveRelative($rel); // /etc/passwd $path->resolveRelative($rel, strict: true); // exception ``getPrefix()`` --------------- ``$prefix`` ----------- Path prefix that you can't traverse beyond like root unix path, windows drive path (C:\\), and url hostname. ``getComponents()`` ------------------- ``$components`` --------------- An array of path components excluding prefix. The last component of the path is empty string if path has trailing (back)slash Loading Loading
docs/path_interfaces.rst +4 −4 Original line number Diff line number Diff line Loading @@ -44,13 +44,13 @@ Strict mode throws exception if traversal happens beyond root (no effect if the $path->resolveRelative($rel); // /etc/passwd $path->resolveRelative($rel, strict: true); // exception ``getPrefix()`` --------------- ``$prefix`` ----------- Path prefix that you can't traverse beyond like root unix path, windows drive path (C:\\), and url hostname. ``getComponents()`` ------------------- ``$components`` --------------- An array of path components excluding prefix. The last component of the path is empty string if path has trailing (back)slash Loading