Add PHPDoc to Ldap\Connection's encryption consts

This commit is contained in:
Eric Lippmann 2015-03-12 23:35:38 +01:00
parent 17393a7b41
commit 1b9ddaacac
1 changed files with 12 additions and 0 deletions

View File

@ -30,7 +30,19 @@ class Connection
const LDAP_SIZELIMIT_EXCEEDED = 4;
const LDAP_ADMINLIMIT_EXCEEDED = 11;
const PAGE_SIZE = 1000;
/**
* Encrypt connection using STARTTLS (upgrading a plain text connection)
*
* @var string
*/
const STARTTLS = 'tls';
/**
* Encrypt connection using LDAP over SSL (using a separate port)
*
* @var string
*/
const SSL = 'ssl';
protected $ds;