Get path segments
Added
- Add ability to get all path segments in a URL via
getPathSegments()
. This is computationally cheaper and easier to use than splitting on/
fromgetPath()
if you need to inspect the path more closely.
getPathSegments()
. This is computationally cheaper and easier to use than splitting on /
from getPath()
if you need to inspect the path more closely.