PHP Класс LdapTools\Factory\LdapObjectSchemaFactory

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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