MobileFrontend
Mobile optimised frontend for MediaWiki
Loading...
Searching...
No Matches
MobileFrontend\BaseDomainExtractorInterface Interface Reference

Helper for operations on domain names. More...

+ Inheritance diagram for MobileFrontend\BaseDomainExtractorInterface:

Public Member Functions

 getCookieDomain ( $server)
 Try to extract the base domain from $server Returns $server if no base domain is found.
 

Detailed Description

Helper for operations on domain names.

Interface DomainExtractorInterface @codeCoverageIgnore

Member Function Documentation

◆ getCookieDomain()

MobileFrontend\BaseDomainExtractorInterface::getCookieDomain ( $server)

Try to extract the base domain from $server Returns $server if no base domain is found.

Parameters
string$serverURL
Returns
string|null Hostname

Implemented in MobileFrontend\WMFBaseDomainExtractor.


The documentation for this interface was generated from the following file: