src/LdapTools/Configuration.php
public function addDomain(DomainConfiguration ...$domains)
    {
        foreach ($domains as $domain) {
            $this->domains[$domain->getDomainName()] = $domain;
        }

        return $this;
    }
public function addDomain(DomainConfiguration ...$domains)
    {
        foreach ($domains as $domain) {
            $this->domains[$domain->getDomainName()] = $domain;
        }

        return $this;
    }
public function addDomain ( DomainConfiguration ... $ domains ) { foreach ( $ domains as $ domain ) { $ this -> domains [ $ domain -> getDomainName ( ) ] = $ domain ; } return $ this ; }
Add domain configurations. Accepts an arbitrary amount of domain configurations.

@param DomainConfiguration $domains,...
@return $this
Add domain configurations . Accepts an arbitrary amount of domain configurations .