PHP 클래스 LdapTools\Factory\LdapObjectSchemaFactory

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

보호된 프로퍼티들

프로퍼티 타입 설명
$cache The caching mechanism.
$dispatcher LdapTools\Event\EventDispatcherInterface
$parser The parser for the schema files.

공개 메소드들

메소드 설명
__construct ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, LdapTools\Event\EventDispatcherInterface $dispatcher )
get ( string $schemaName, string $objectType ) : LdapObjectSchema Get the LdapObjectSchema for a specific schema name and object type.

보호된 메소드들

메소드 설명
shouldBuildCacheItem ( string $schemaName, string $cacheItem ) : boolean Whether or not the item needs to be parsed and cached.

메소드 상세

__construct() 공개 메소드

public __construct ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, LdapTools\Event\EventDispatcherInterface $dispatcher )
$cache LdapTools\Cache\CacheInterface
$parser LdapTools\Schema\Parser\SchemaParserInterface
$dispatcher LdapTools\Event\EventDispatcherInterface

get() 공개 메소드

Get the LdapObjectSchema for a specific schema name and object type.
public get ( string $schemaName, string $objectType ) : LdapObjectSchema
$schemaName string
$objectType string
리턴 LdapTools\Schema\LdapObjectSchema

shouldBuildCacheItem() 보호된 메소드

Whether or not the item needs to be parsed and cached.
protected shouldBuildCacheItem ( string $schemaName, string $cacheItem ) : boolean
$schemaName string
$cacheItem string
리턴 boolean

프로퍼티 상세

$cache 보호되어 있는 프로퍼티

The caching mechanism.
protected $cache

$dispatcher 보호되어 있는 프로퍼티

protected EventDispatcherInterface,LdapTools\Event $dispatcher
리턴 LdapTools\Event\EventDispatcherInterface

$parser 보호되어 있는 프로퍼티

The parser for the schema files.
protected $parser