PHP 클래스 LdapTools\Factory\AttributeConverterFactory

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$converterMap The default converter name to class mapping.

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
getInstanceOfConverter ( string $name ) : LdapTools\AttributeConverter\AttributeConverterInterface Load a specific converter if needed and send it back.

메소드 상세

get() 공개 정적인 메소드

Retrieve a registered attribute converter by name.
public static get ( $name ) : LdapTools\AttributeConverter\AttributeConverterInterface
$name
리턴 LdapTools\AttributeConverter\AttributeConverterInterface

getInstanceOfConverter() 보호된 정적인 메소드

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

register() 공개 정적인 메소드

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')

프로퍼티 상세

$converterMap 보호되어 있는 정적으로 프로퍼티

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