PHP Class spec\LdapTools\Cache\StashCacheSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$testCacheDir

Public Methods

Method 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_datetime_when_calling_getCacheCreationTime_when_the_item_is_in_the_cache ( )
it_should_return_a_default_cache_prefix_of_ldaptools_when_calling_getCachePrefix ( )
it_should_return_false_when_calling_contains_and_the_item_is_not_in_the_cache ( )
it_should_return_false_when_calling_getCacheCreationTime_for_a_non_existent_item ( )
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 method

public it_is_initializable ( )

it_should_be_case_insensitive_when_looking_up_an_item_in_the_cache() public method

it_should_cache_an_item_when_calling_set() public method

it_should_delete_all_items_in_the_cache() public method

it_should_delete_an_item_from_the_cache() public method

it_should_have_the_system_temp_dir_with_a_ldaptools_subfolder_as_the_default_cache_location() public method

it_should_implement_the_CacheInterface() public method

it_should_recognize_the_cache_folder_option() public method

it_should_recognize_the_cache_prefix_option() public method

it_should_return_a_datetime_when_calling_getCacheCreationTime_when_the_item_is_in_the_cache() public method

it_should_return_a_default_cache_prefix_of_ldaptools_when_calling_getCachePrefix() public method

it_should_return_false_when_calling_contains_and_the_item_is_not_in_the_cache() public method

it_should_return_false_when_calling_getCacheCreationTime_for_a_non_existent_item() public method

it_should_return_null_on_an_item_not_in_the_cache_when_calling_get() public method

it_should_return_true_when_calling_contains_and_the_item_is_in_the_cache() public method

it_should_support_setting_the_cache_folder() public method

it_should_support_setting_the_cache_prefix() public method

let() public method

public let ( )

Property Details

$testCacheDir protected_oe property

protected $testCacheDir