public function persist(LdapObject $ldapObject) { $this->getObjectManager()->persist($ldapObject); return $this; }