PHP Класс spec\LdapTools\Factory\LdapObjectSchemaFactorySpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_is_initializable ( )
it_should_build_the_cache_item_if_it_cannot_be_found ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
it_should_build_the_cache_when_auto_cache_is_enabled_and_the_cache_item_is_out_of_date ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
it_should_call_the_load_schema_event ( $dispatcher )
it_should_not_build_the_cache_item_if_it_is_in_the_cache_and_auto_cache_is_not_on ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
it_should_not_build_the_cache_when_auto_cache_is_enabled_and_the_cache_item_is_not_out_of_date ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
it_should_not_call_the_load_schema_event_when_retrieving_from_the_cache ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
it_should_return_an_LdapObjectSchema_object_when_calling_get ( )
it_should_throw_a_parser_exception_when_the_schema_object_type_is_not_found ( )
let ( LdapTools\Event\EventDispatcherInterface $dispatcher )

Описание методов

it_is_initializable() публичный Метод

public it_is_initializable ( )

it_should_build_the_cache_item_if_it_cannot_be_found() публичный Метод

public it_should_build_the_cache_item_if_it_cannot_be_found ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
$cache LdapTools\Cache\CacheInterface
$parser LdapTools\Schema\Parser\SchemaParserInterface

it_should_build_the_cache_when_auto_cache_is_enabled_and_the_cache_item_is_out_of_date() публичный Метод

public it_should_build_the_cache_when_auto_cache_is_enabled_and_the_cache_item_is_out_of_date ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
$cache LdapTools\Cache\CacheInterface
$parser LdapTools\Schema\Parser\SchemaParserInterface

it_should_call_the_load_schema_event() публичный Метод

public it_should_call_the_load_schema_event ( $dispatcher )

it_should_not_build_the_cache_item_if_it_is_in_the_cache_and_auto_cache_is_not_on() публичный Метод

public it_should_not_build_the_cache_item_if_it_is_in_the_cache_and_auto_cache_is_not_on ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
$cache LdapTools\Cache\CacheInterface
$parser LdapTools\Schema\Parser\SchemaParserInterface

it_should_not_build_the_cache_when_auto_cache_is_enabled_and_the_cache_item_is_not_out_of_date() публичный Метод

public it_should_not_build_the_cache_when_auto_cache_is_enabled_and_the_cache_item_is_not_out_of_date ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
$cache LdapTools\Cache\CacheInterface
$parser LdapTools\Schema\Parser\SchemaParserInterface

it_should_not_call_the_load_schema_event_when_retrieving_from_the_cache() публичный Метод

public it_should_not_call_the_load_schema_event_when_retrieving_from_the_cache ( LdapTools\Cache\CacheInterface $cache, LdapTools\Schema\Parser\SchemaParserInterface $parser, $dispatcher )
$cache LdapTools\Cache\CacheInterface
$parser LdapTools\Schema\Parser\SchemaParserInterface

it_should_return_an_LdapObjectSchema_object_when_calling_get() публичный Метод

it_should_throw_a_parser_exception_when_the_schema_object_type_is_not_found() публичный Метод

let() публичный Метод

public let ( LdapTools\Event\EventDispatcherInterface $dispatcher )
$dispatcher LdapTools\Event\EventDispatcherInterface