Solar_Uri_Rewrite::match()

public string Solar_Uri_Rewrite::match ( string|Solar_Uri $spec )

Given a URI path, matches it against a rewrite rule and returns the rewritten path.

Parameters

  • (string|Solar_Uri) $spec: The original URI path.

Returns

  • (string) The rewritten path.

Description

Given a URI path, matches it against a rewrite rule and returns the rewritten path.



Local