LdapTools\Connection\LastErrorStrategy::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( resource $connection )
$connection resource
    public function __construct($connection)
    {
        $this->connection = $connection;
        if (defined('LDAP_OPT_DIAGNOSTIC_MESSAGE')) {
            $this->diagnosticOpt = 'LDAP_OPT_DIAGNOSTIC_MESSAGE';
        }
    }