Skip to content
  • totten's avatar
    CRM_Utils_Hook::alterRedirect - Pass URL by reference · ca4ce861
    totten authored
    PSR-7 specifies that the `UriInterface` is immutable.  There are methods
    like `withQuery(...)` which generate a *new instance*.
    
    For the hook to support altering the URL, you must be able to replace the
    `$url` with a newer instance.
    ca4ce861