class Connection extends AbstractConnection

Properties

protected $config from AbstractConnection

Methods

__construct(array $config = array())

No description

configureOptions(OptionsResolver $resolver)

Configures the adapter's options.

__destruct()

No description

bool
isBound()

Checks whether the connection was already bound or not.

bind(string $dn = null, string $password = null)

Binds the connection against a DN and password.

resource
getResource()

Returns a link resource.

setOption($name, $value)

No description

getOption($name)

No description

Details

__construct(array $config = array())

Parameters

array $config

protected configureOptions(OptionsResolver $resolver)

Configures the adapter's options.

Parameters

OptionsResolver $resolver An OptionsResolver instance

__destruct()

bool isBound()

Checks whether the connection was already bound or not.

Return Value

bool

bind(string $dn = null, string $password = null)

Binds the connection against a DN and password.

Parameters

string $dn The user's DN
string $password The associated password

resource getResource()

Returns a link resource.

Return Value

resource

setOption($name, $value)

Parameters

$name
$value

getOption($name)

Parameters

$name