PHP 클래스 spec\LdapTools\Factory\LdapObjectSchemaFactorySpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: ldaptools/ldaptools

공개 메소드들

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