ValidDomain
in package
Check for valid domain or not, if not then redirect to the domain entered in config DB.
This is depend on settings on config DB.
Tags
Table of Contents
Properties
- $Container : Container
Methods
- __construct() : mixed
- The class constructor.
- init() : string|null
- Initialize to detect if domain.
Properties
$Container
protected
Container
$Container
Methods
__construct()
The class constructor.
public
__construct(Container $Container) : mixed
Parameters
- $Container : Container
-
The DI container class.
init()
Initialize to detect if domain.
public
init([string|null $response = '' ]) : string|null
Parameters
- $response : string|null = ''