public function setDn($dn = null)
{
$this->dn = (string) $dn;
return $this;
}
/** * Returns a new query builder instance. * * @param string $baseDn * * @return Builder */ public function newQueryBuilder($baseDn = '') { // Create a new Builder. $builder = new Builder($this->connection, $this->newGrammar()); // Set the Base DN on the Builder. $builder->setDn($baseDn); // Return the new Builder instance. return $builder; }