PHP Class LdapTools\Factory\AttributeConverterFactory

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools Class Usage Examples

Protected Properties

Свойство Type Description
$converterMap The default converter name to class mapping.

Méthodes publiques

Méthode Description
get ( $name ) : LdapTools\AttributeConverter\AttributeConverterInterface Retrieve a registered attribute converter by name.
register ( string $name, string $class ) Registers a converter so it can be retrieved by its name.

Méthodes protégées

Méthode Description
getInstanceOfConverter ( string $name ) : LdapTools\AttributeConverter\AttributeConverterInterface Load a specific converter if needed and send it back.

Method Details

get() public static méthode

Retrieve a registered attribute converter by name.
public static get ( $name ) : LdapTools\AttributeConverter\AttributeConverterInterface
$name
Résultat LdapTools\AttributeConverter\AttributeConverterInterface

getInstanceOfConverter() protected static méthode

Load a specific converter if needed and send it back.
protected static getInstanceOfConverter ( string $name ) : LdapTools\AttributeConverter\AttributeConverterInterface
$name string
Résultat LdapTools\AttributeConverter\AttributeConverterInterface

register() public static méthode

Registers a converter so it can be retrieved by its name.
public static register ( string $name, string $class )
$name string The actual name for the converter in the schema.
$class string The fully qualified class name (ie. '\Foo\Bar\Converter')

Property Details

$converterMap protected_oe static_oe property

The default converter name to class mapping.
protected static $converterMap