Mecha CMS

$u_r_l->getIterator()

Iterate over all URL properties.

2.0.0 \IteratorAggregate

$u_r_l->getIterator(void);

Example:

foreach (new URL('https://mecha-cms.com/foo/bar/1?baz=qux#asdf') as $k => $v) { … }