GoogleAnalyticsRefreshServiceOptions
in package
implements
GoogleAnalyticsRefreshServiceOptionsInterface
Class GoogleAnalyticsRefreshServiceOptions
Interfaces, Classes and Traits
- GoogleAnalyticsRefreshServiceOptionsInterface
- Interface GoogleAnalyticsRefreshServiceOptionsInterface
Table of Contents
- $root : string
- $webServer : string
- $webServerWithoutProtocol : string
- __construct() : mixed
- GoogleAnalyticsRefreshServiceOptions constructor.
- create() : GoogleAnalyticsRefreshServiceOptions
- Named constructor of google analytics refresh service options.
- root() : string
- Returns the absolute path to the web servers root.
- webServer() : string
- Returns the web path to the server.
- webServerWithoutProtocol() : string
- Returns the web path to the server without the protocol (https:// or http://).
Properties
$root
protected
string
$root
$webServer
protected
string
$webServer
$webServerWithoutProtocol
protected
string
$webServerWithoutProtocol
Methods
__construct()
GoogleAnalyticsRefreshServiceOptions constructor.
public
__construct(ExistingDirectory $root, NonEmptyStringType $webServer, BoolType $sslEnabled) : mixed
Parameters
- $root : ExistingDirectory
-
Absolute path to the web servers root.
- $webServer : NonEmptyStringType
-
Web path to the server.
- $sslEnabled : BoolType
-
Is SSL enabled?
Return values
mixed —create()
Named constructor of google analytics refresh service options.
public
static create(string $root, string $webServer, bool $sslEnabled) : GoogleAnalyticsRefreshServiceOptions
Parameters
- $root : string
-
Absolute path to the web servers root.
- $webServer : string
-
Web path to the server.
- $sslEnabled : bool
-
Is SSL enabled?
Return values
GoogleAnalyticsRefreshServiceOptions —New instance.
root()
Returns the absolute path to the web servers root.
public
root() : string
Return values
string —webServer()
Returns the web path to the server.
public
webServer() : string
Return values
string —webServerWithoutProtocol()
Returns the web path to the server without the protocol (https:// or http://).
public
webServerWithoutProtocol() : string