com\setasign\SetaFramework\View\Helper
AbsoluteUri Class AbsoluteUri
File: /SetaFramework/src/View/Helper/AbsoluteUri.php
Used to set a absolute uri. Only for Http-Applications.
Class hierarchy
Summary
Properties
$domain
protected string AbsoluteUri::$domain
$requestPathPrefix
protected AbsoluteUri::$requestPathPrefix
Methods
__construct()
public AbsoluteUri::__construct (
\com\setasign\SetaFramework\Bootstrap\RequestPathPrefix $requestPathPrefix,
\com\setasign\SetaFramework\Bootstrap\DomainName $domainName
)\com\setasign\SetaFramework\Bootstrap\DomainName $domainName
Constructor
Parameters
- $requestPathPrefix : \com\setasign\SetaFramework\Bootstrap\RequestPathPrefix
- $domainName : \com\setasign\SetaFramework\Bootstrap\DomainName
__invoke()
Gets the absolute uri
The uri must start with a slash.
Parameters
- $uri : string
- $includeDomain : bool
