ReferrerEnforcer

Internal

Table of Contents

Properties

$request  : ServerRequestInterface
$requestDir  : string
$requestHost  : string

Methods

__construct()  : mixed
handle()  : ResponseInterface|null
resolveAbsoluteWebPath()  : string
resolveReferrerType()  : int
resolveRequestDir()  : string
resolveRequestHost()  : string

Properties

$request

protected ServerRequestInterface $request

Methods

__construct()

public __construct(ServerRequestInterface $request) : mixed
Parameters
$request : ServerRequestInterface

handle()

public handle([array<string|int, mixed>|null $options = null ]) : ResponseInterface|null
Parameters
$options : array<string|int, mixed>|null = null
Return values
ResponseInterface|null

resolveAbsoluteWebPath()

protected resolveAbsoluteWebPath(string $target) : string
Parameters
$target : string
Return values
string

resolveReferrerType()

protected resolveReferrerType() : int
Return values
int

resolveRequestDir()

protected resolveRequestDir(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

resolveRequestHost()

protected resolveRequestHost(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

        
On this page

Search results