\Pluf\MiddlewareTenant

Summary

Methods
Properties
Constants
process_request()
process_response()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
extract_domain()
extract_subdomains()
No private properties found
N/A

Methods

process_request()

process_request(\Pluf_HTTP_Request  $request) : boolean

Parameters

\Pluf_HTTP_Request $request

Returns

boolean —

false if ther is no problem otherwize ther is an error

process_response()

process_response(\Pluf_HTTP_Request  $request, \Pluf_HTTP_Response  $response) 

Parameters

\Pluf_HTTP_Request $request
\Pluf_HTTP_Response $response

extract_domain()

extract_domain(string  $str) : string

دامنه اصلی را از رشته داده شده استخراج می‌کند

Parameters

string $str

Returns

string

extract_subdomains()

extract_subdomains(string  $str) : string

زیر دامنه یا زیردامنه‌ها را از رشته داده شده استخراج می‌کند.

Parameters

string $str

Returns

string