/** * Creates a new user instance as a contact. * * @param array $attributes * * @return User */ public function contact(array $attributes = []) { return (new User($attributes, $this->query))->setAttribute($this->schema->objectClass(), [$this->schema->top(), $this->schema->person(), $this->schema->organizationalPerson(), $this->schema->contact()]); }