blob: dd41344b7babf3e84388b0c83e8fe0ee4b3f3abb [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace LdapRecord\Query\Model;
4
5class OpenLdapBuilder extends Builder
6{
7 /**
8 * Adds a enabled filter to the current query.
9 *
10 * @return $this
11 */
12 public function whereEnabled()
13 {
14 return $this->rawFilter('(!(pwdAccountLockedTime=*))');
15 }
16
17 /**
18 * Adds a disabled filter to the current query.
19 *
20 * @return $this
21 */
22 public function whereDisabled()
23 {
24 return $this->rawFilter('(pwdAccountLockedTime=*)');
25 }
26}