LdapTools\Object\LdapObjectRepository::buildLdapQuery PHP Method

buildLdapQuery() public method

Get the LdapQueryBuilder with the defaults for this repository type.
public buildLdapQuery ( ) : LdapQueryBuilder
return LdapTools\Query\LdapQueryBuilder
    public function buildLdapQuery()
    {
        $lqb = new LdapQueryBuilder($this->ldap);
        if (!empty($this->attributes)) {
            $lqb->select($this->attributes);
        }
        return $lqb->from($this->schema);
    }