BackendPathEvaluator
class BackendPathEvaluator (View source)
Methods
string|false
string
Details
evaluate(HostPath $path)
Evaluate will check to see if the provided host path contains a path alias. If it does, the alias will be resolved, and the result of the resolution will be injected into the HostPath, replacing the alias.
string|false
resolve(HostPath $path)
Resolve will check to see if the provided host path contains a path alias. If it does, the alias will be resolved, and the result of the resolution will be returned.
string
lookup(SiteAlias $aliasRecord, $pathAlias)
Lookup will use the provided alias record to look up and return the value of a path alias.
string
request(SiteAlias $aliasRecord, string $pathAlias)
Request the value of the path alias from the site associated with the alias record.