메소드 |
설명 |
|
__construct ( variadic $domains ) |
|
|
addDomain ( variadic $domains ) |
Add domain configurations. Accepts an arbitrary amount of domain configurations. |
|
getAttributeConverters ( ) : array |
Get the attribute converters that will be registered. |
|
getCacheOptions ( ) : array |
Get the cache options for the cache type. |
|
getCacheType ( ) : string |
Get the configured cache type. |
|
getDefaultDomain ( ) : string |
Get the name of the default domain to be used when there are multiple domains. |
|
getDomainConfiguration ( null | string $domain = null ) : DomainConfiguration[] | DomainConfiguration |
Get the DomainConfiguration for a specific domain, or an array of all DomainConfiguration objects if none is
specified. |
|
getEventDispatcher ( ) : LdapTools\Event\EventDispatcherInterface | null |
Get the explicitly set event dispatcher to be used. |
|
getLogger ( ) : LdapTools\Log\LdapLoggerInterface | null |
Get the logger to be used. |
|
getSchemaFolder ( ) : string |
Get the location where the schema definitions exist. |
|
getSchemaFormat ( ) : string |
Get the schema definition format. |
|
load ( string $file ) |
Load the LDAP configuration from a YAML file. See the 'resources/config' folder for an example. |
|
loadFromArray ( array $config ) |
Load the configuration from an array of values. They should be in the same format/name as the YAML format. |
|
setAttributeConverters ( array $attributeConverters ) |
Set attribute converters that should be registered. In the form: |
|
setCacheOptions ( $options ) |
Set the caching options for the cache type. |
|
setCacheType ( $type ) |
Set the cache type to use. |
|
setDefaultDomain ( $domain ) |
Set the default domain that should be used by the LdapManager. In the absence of multiple domains,
this does not have to be set. |
|
setEventDispatcher ( LdapTools\Event\EventDispatcherInterface $eventDispatcher ) |
Set an event dispatcher, other than the default, to be used. |
|
setLogger ( LdapTools\Log\LdapLoggerInterface $logger ) |
Set a logger to be used. |
|
setSchemaFolder ( $folder ) |
Set the location where the schema definitions exist. |
|
setSchemaFormat ( $type ) |
Set the schema definition format. |
|