Get a FilterBuilder instance based on the connection.
public static getInstance ( LdapTools\Connection\LdapConnectionInterface $connection = null ) : |
||
$connection | LdapTools\Connection\LdapConnectionInterface | |
return |
/** * @param LdapConnectionInterface $connection * @param LdapObjectSchemaFactory $schemaFactory */ public function __construct(LdapConnectionInterface $connection = null, LdapObjectSchemaFactory $schemaFactory = null) { $this->connection = $connection; $this->schemaFactory = $schemaFactory; $this->operation = new QueryOperation(new OperatorCollection()); $this->hydrator = new OperationHydrator($this->connection); $this->filterBuilder = FilterBuilder::getInstance($connection); }