This commit is contained in:
Christophe Massin 2014-07-29 14:25:32 +02:00
commit 01cc9eb62b

View File

@ -62,6 +62,16 @@ class LdapAdapter implements LoginAdapter
*/ */
protected $adapter; protected $adapter;
/**
* Create an adapter from the configuration
*
* @param array $configuration
* @return oat\authLdap\model\LdapAdapter
*/
public static function createFromConfig(array $configuration) {
return new self($configuration);
}
/** /**
* @param array $configuration * @param array $configuration
*/ */