BasePathManager
in package
Table of Contents
Constants
- DEFAULT_BASE_PATH = "pndsn.com"
- Default base path if a custom one is not provided.
- DEFAULT_SUBDOMAIN = "ps"
- default subdomain used if cache busting is disabled.
Properties
Methods
- __construct() : mixed
- BasePathManager constructor.
- getBasePath() : string
- Prepares a next usable base url.
Constants
DEFAULT_BASE_PATH
Default base path if a custom one is not provided.
protected
mixed
DEFAULT_BASE_PATH
= "pndsn.com"
DEFAULT_SUBDOMAIN
default subdomain used if cache busting is disabled.
protected
mixed
DEFAULT_SUBDOMAIN
= "ps"
Properties
$config
private
PNConfiguration
$config
Methods
__construct()
BasePathManager constructor.
public
__construct(mixed $initialConfig) : mixed
Parameters
- $initialConfig : mixed
-
PNConfiguration
getBasePath()
Prepares a next usable base url.
public
getBasePath([mixed $customHost = null ]) : string
Parameters
- $customHost : mixed = null