Mecha CMS

$u_r_l->offsetSet()

Set URL property without normalization.

2.2.0 \ArrayAccess

$u_r_l->offsetSet($key, $value);

Example:

  $url = new URL('https://mecha-cms.com');

  $url['path'] = '/foo/bar';
  $url['hash'] = '#baz';