public function getDomainNames()
    {
        return $this->getCache('domainNames', function () {
            $list = array_merge($this->aliases, $this->pointers, [$this->getDomainName()]);
            sort($list);
            return $list;
        });
    }
public function getDomainNames()
    {
        return $this->getCache('domainNames', function () {
            $list = array_merge($this->aliases, $this->pointers, [$this->getDomainName()]);
            sort($list);
            return $list;
        });
    }
public function getDomainNames ( ) { return $ this -> getCache ( 'domainNames' , function ( ) { $ list = array_merge ( $ this -> aliases , $ this -> pointers , [ $ this -> getDomainName ( ) ] ) ; sort ( $ list ) ; return $ list ; } ) ; }
Returns unified sorted list of main domain name, aliases and pointers.

@return string[]
Returns unified sorted list of main domain name aliases and pointers .