/** * Persists attribute updates to the active directory record. * * @return bool */ public function update() { $modifications = $this->getModifications(); if (count($modifications) > 0) { return $this->connection->modifyBatch($this->getDn(), $modifications); } return true; }