blob: 5e3d43fefd2c74c1fc8539a4fd2cfe07753e7789 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace LdapRecord\Query\Model;
4
5class FreeIpaBuilder 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}