public function fromLdap() { $entry = $this->convert($this->entry, false); foreach ($entry as $attribute => $value) { if ($this->schema->isMultivaluedAttribute($attribute) && !is_array($value)) { $entry[$attribute] = [$value]; } } return $entry; }