Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MobileFrontend;
4
5/**
6 * Helper for operations on domain names
7 *
8 * Interface DomainExtractorInterface
9 * @codeCoverageIgnore
10 */
11interface BaseDomainExtractorInterface {
12
13    /**
14     * Try to extract the base domain from $server
15     * Returns $server if no base domain is found.
16     *
17     * @param string $server URL
18     * @return string|null Hostname
19     */
20    public function getCookieDomain( $server );
21}