Adldap\Search\Factory::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Adldap\Connections\ConnectionInterface $connection, Adldap\Schemas\SchemaInterface $schema = null, string $baseDn = '' )
$connection Adldap\Connections\ConnectionInterface
$schema Adldap\Schemas\SchemaInterface
$baseDn string
    public function __construct(ConnectionInterface $connection, SchemaInterface $schema = null, $baseDn = '')
    {
        $this->setConnection($connection)->setSchema($schema)->setQuery($this->newQuery($baseDn));
    }