public function setDomain(?string $domain) : void
    {
        $this->domain = (($domain === null) ? null : strtolower($domain));
    }
public function setDomain(?string $domain) : void
    {
        $this->domain = (($domain === null) ? null : strtolower($domain));
    }
public function setDomain ( ? string $ domain ) : void { $ this -> domain = ( ( $ domain === null ) ? null : strtolower ( $ domain ) ) ; }
Define o "Domain" do cookie.

O valor "null" irá remover esta propriedade do cookie.

@param       ?string $domain
Domain.

@return      void
Define o Domain do cookie .