Skip to content
Snippets Groups Projects
Commit 9dbef2ae authored by David Surville's avatar David Surville
Browse files

Merge branch '5.x' into 6.x

parents 77acdffa b52e046b
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,11 @@ class ModuleOptions extends AbstractOptions
*/
protected $accountFilterFormat;
/**
* @var bool
*/
protected $useStartTls;
public function getIterator() {
return new \ArrayIterator($this);
......@@ -244,7 +249,25 @@ class ModuleOptions extends AbstractOptions
*/
public function setAccountFilterFormat($accountFilterFormat)
{
$this->accountFilterFormat = (boolean)$accountFilterFormat;
$this->accountFilterFormat = (string)$accountFilterFormat;
return $this;
}
/**
* @return bool
*/
public function getUseStartTls(): bool
{
return $this->useStartTls;
}
/**
* @param bool $useStartTls
* @return $this
*/
public function setUseStartTls(bool $useStartTls): ModuleOptions
{
$this->useStartTls = $useStartTls;
return $this;
}
......@@ -262,6 +285,7 @@ class ModuleOptions extends AbstractOptions
'password' => $this->getPassword(),
'bindRequiresDn' => $this->getBindRequiresDn(),
'baseDn' => $this->getBaseDn(),
'useStartTls' => $this->getUseStartTls(),
);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment