Lines Matching defs:options
47 protected $options = [];
53 * @param array $options
62 array $options
64 $this->options = $options;
66 switch ($this->options['referral']) {
77 $this->options['referral']
92 $referralChaser = $this->options['referral_chaser'];
107 if (!isset($this->options['_referral_context'])) {
108 $this->options['_referral_context'] = new ReferralContext();
113 if ($this->options['_referral_context']->hasReferral($referral)) {
117 $this->options['_referral_context']->addReferral($referral);
118 if ($this->options['_referral_context']->count() > $this->options['referral_limit']) {
121 $this->options['referral_limit']
134 $options = $this->options;
135 $options['servers'] = $referral->getHost() !== null ? [$referral->getHost()] : [];
136 $options['port'] = $referral->getPort() ?? 389;
137 $options['use_ssl'] = $referral->getUseSsl();
140 # here, merge the options, then use that request to send to LDAP. This makes sure we don't accidentally mix
141 # options from different referrals.
146 $client = $referralChaser !== null ? $referralChaser->client($options) : new LdapClient($options);