PHP Class spec\LdapTools\Cache\DoctrineCacheSpec

Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$testCacheDir

Méthodes publiques

Méthode Description
it_is_initializable ( )
it_should_be_case_insensitive_when_looking_up_an_item_in_the_cache ( )
it_should_cache_an_item_when_calling_set ( )
it_should_delete_all_items_in_the_cache ( )
it_should_delete_an_item_from_the_cache ( )
it_should_have_the_system_temp_dir_with_a_ldaptools_subfolder_as_the_default_cache_location ( )
it_should_implement_the_CacheInterface ( )
it_should_recognize_the_cache_folder_option ( )
it_should_recognize_the_cache_prefix_option ( )
it_should_return_a_default_cache_prefix_of_ldaptools_when_calling_getCachePrefix ( )
it_should_return_a_false_when_calling_getCacheCreationTime ( ) Expected to be false as it is not supported with the Doctrine Cache methods.
it_should_return_false_when_calling_contains_and_the_item_is_not_in_the_cache ( )
it_should_return_null_on_an_item_not_in_the_cache_when_calling_get ( )
it_should_return_true_when_calling_contains_and_the_item_is_in_the_cache ( )
it_should_support_setting_the_cache_folder ( )
it_should_support_setting_the_cache_prefix ( )
let ( )

Method Details

it_is_initializable() public méthode

public it_is_initializable ( )

it_should_be_case_insensitive_when_looking_up_an_item_in_the_cache() public méthode

it_should_cache_an_item_when_calling_set() public méthode

it_should_delete_all_items_in_the_cache() public méthode

it_should_delete_an_item_from_the_cache() public méthode

it_should_have_the_system_temp_dir_with_a_ldaptools_subfolder_as_the_default_cache_location() public méthode

it_should_implement_the_CacheInterface() public méthode

it_should_recognize_the_cache_folder_option() public méthode

it_should_recognize_the_cache_prefix_option() public méthode

it_should_return_a_default_cache_prefix_of_ldaptools_when_calling_getCachePrefix() public méthode

it_should_return_a_false_when_calling_getCacheCreationTime() public méthode

Expected to be false as it is not supported with the Doctrine Cache methods.

it_should_return_false_when_calling_contains_and_the_item_is_not_in_the_cache() public méthode

it_should_return_null_on_an_item_not_in_the_cache_when_calling_get() public méthode

it_should_return_true_when_calling_contains_and_the_item_is_in_the_cache() public méthode

it_should_support_setting_the_cache_folder() public méthode

it_should_support_setting_the_cache_prefix() public méthode

let() public méthode

public let ( )

Property Details

$testCacheDir protected_oe property

protected $testCacheDir