Loading src/UnicaenLdap/Options/ModuleOptions.php +26 −2 Original line number Diff line number Diff line Loading @@ -67,6 +67,11 @@ class ModuleOptions extends AbstractOptions */ protected $accountFilterFormat; /** * @var bool */ protected $useStartTls; public function getIterator() { return new \ArrayIterator($this); Loading Loading @@ -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; } Loading @@ -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 Loading
src/UnicaenLdap/Options/ModuleOptions.php +26 −2 Original line number Diff line number Diff line Loading @@ -67,6 +67,11 @@ class ModuleOptions extends AbstractOptions */ protected $accountFilterFormat; /** * @var bool */ protected $useStartTls; public function getIterator() { return new \ArrayIterator($this); Loading Loading @@ -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; } Loading @@ -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