Methods
Get singleton instance
getInstance() : object
Static
Returns
object
Singleton instance
Get this website root URL without protocol "http" or "https"
getRootUrlWithoutProtocol() : string
Returns
string
This website root URL without protocol
Remove protocol "http" or "https" from local URL
removeProtocolLocal(string $url) : string
Parameters
Returns
string
URL without protocol
Disable cloning of object
__clone() : void
Constructor
__construct() : void
Properties
Singleton instance
$instance : object
Static
Root URL without protocol
$rootUrlWithoutProtocol : string