Skip to content

Commit 5e0b5f5

Browse files
dlundgrentvdijen
authored andcommitted
Change the ConfigHelper properties to protected (#12)
Closes #11
1 parent d8db7e0 commit 5e0b5f5

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

lib/ConfigHelper.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,103 +19,103 @@ class ConfigHelper
1919
* String with the location of this configuration.
2020
* Used for error reporting.
2121
*/
22-
private $location;
22+
protected $location;
2323

2424
/**
2525
* The hostname of the LDAP server.
2626
*/
27-
private $hostname;
27+
protected $hostname;
2828

2929
/**
3030
* Whether we should use TLS/SSL when contacting the LDAP server.
3131
*/
32-
private $enableTLS;
32+
protected $enableTLS;
3333

3434
/**
3535
* Whether debug output is enabled.
3636
*
3737
* @var bool
3838
*/
39-
private $debug;
39+
protected $debug;
4040

4141
/**
4242
* The timeout for accessing the LDAP server.
4343
*
4444
* @var int
4545
*/
46-
private $timeout;
46+
protected $timeout;
4747

4848
/**
4949
* The port used when accessing the LDAP server.
5050
*
5151
* @var int
5252
*/
53-
private $port;
53+
protected $port;
5454

5555
/**
5656
* Whether to follow referrals
5757
*/
58-
private $referrals;
58+
protected $referrals;
5959

6060
/**
6161
* Whether we need to search for the users DN.
6262
*/
63-
private $searchEnable;
63+
protected $searchEnable;
6464

6565
/**
6666
* The username we should bind with before we can search for the user.
6767
*/
68-
private $searchUsername;
68+
protected $searchUsername;
6969

7070
/**
7171
* The password we should bind with before we can search for the user.
7272
*/
73-
private $searchPassword;
73+
protected $searchPassword;
7474

7575
/**
7676
* Array with the base DN(s) for the search.
7777
*/
78-
private $searchBase;
78+
protected $searchBase;
7979

8080
/**
8181
* The scope of the search.
8282
*/
83-
private $searchScope;
83+
protected $searchScope;
8484

8585
/**
8686
* Additional LDAP filter fields for the search
8787
*/
88-
private $searchFilter;
88+
protected $searchFilter;
8989

9090
/**
9191
* The attributes which should match the username.
9292
*/
93-
private $searchAttributes;
93+
protected $searchAttributes;
9494

9595
/**
9696
* The DN pattern we should use to create the DN from the username.
9797
*/
98-
private $dnPattern;
98+
protected $dnPattern;
9999

100100
/**
101101
* The attributes we should fetch. Can be NULL in which case we will fetch all attributes.
102102
*/
103-
private $attributes;
103+
protected $attributes;
104104

105105
/**
106106
* The user cannot get all attributes, privileged reader required
107107
*/
108-
private $privRead;
108+
protected $privRead;
109109

110110
/**
111111
* The DN we should bind with before we can get the attributes.
112112
*/
113-
private $privUsername;
113+
protected $privUsername;
114114

115115
/**
116116
* The password we should bind with before we can get the attributes.
117117
*/
118-
private $privPassword;
118+
protected $privPassword;
119119

120120

121121
/**

0 commit comments

Comments
 (0)