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

in AbstractConnection at line 24
__construct(array $config = array())

Parameters

array $config

at line 88
protected configureOptions(OptionsResolver $resolver)

Configures the adapter's options.

Parameters

OptionsResolver $resolver An OptionsResolver instance

at line 31
__destruct()

at line 39
bool isBound()

Checks whether the connection was already bound or not.

Return Value

bool

at line 47
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

at line 67
resource getResource()

Returns a link resource.

Return Value

resource

at line 72
setOption($name, $value)

Parameters

$name
$value

at line 79
getOption($name)

Parameters

$name