public function setDistinguishedName($dn)
    {
        $this->setFirstAttribute($this->schema->distinguishedName(), (string) $dn);

        return $this;
    }
public function setDistinguishedName($dn)
    {
        $this->setFirstAttribute($this->schema->distinguishedName(), (string) $dn);

        return $this;
    }
public function setDistinguishedName ( $ dn ) { $ this -> setFirstAttribute ( $ this -> schema -> distinguishedName ( ) , ( string ) $ dn ) ; return $ this ; }
Sets the model's distinguished name attribute.

@param string|DistinguishedName $dn

@return $this
Sets the model s distinguished name attribute .